mirror of
https://github.com/godotengine/godot.git
synced 2024-11-15 08:32:54 +00:00
Merge pull request #61859 from Chaosus/fix_sky_rotation
This commit is contained in:
commit
d6254f982e
@ -1531,7 +1531,7 @@ void RendererSceneSkyRD::draw(RendererSceneEnvironmentRD *p_env, bool p_can_cont
|
||||
projections = &camera;
|
||||
}
|
||||
|
||||
sky_transform = p_transform.basis * sky_transform;
|
||||
sky_transform = sky_transform * p_transform.basis;
|
||||
|
||||
if (shader_data->uses_quarter_res) {
|
||||
PipelineCacheRD *pipeline = &shader_data->pipelines[view_count > 1 ? SKY_VERSION_QUARTER_RES_MULTIVIEW : SKY_VERSION_QUARTER_RES];
|
||||
|
Loading…
Reference in New Issue
Block a user