Fix incorrect sky rotation based on camera axis
This commit is contained in:
parent
d120b099f5
commit
5dd7a1030d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue