Skip to content

Commit

Permalink
fixed caelum sky rendered black on left mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
tritonas00 authored and Petr Ohlídal committed Mar 15, 2022
1 parent 453449c commit 7707c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/main/gfx/GfxActor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ void RoR::GfxActor::UpdateVideoCameras(float dt_sec)
vidcam.vcam_ogre_camera->setPosition(center);
vidcam.vcam_ogre_camera->lookAt(App::GetCameraManager()->GetCameraNode()->getPosition() - 2.0f * project);
vidcam.vcam_ogre_camera->roll(roll);
vidcam.vcam_ogre_camera->setNearClipDistance(1); // fixes Caelum sky rendered black on mirrors

continue; // Done processing mirror prop.
}
Expand Down

0 comments on commit 7707c80

Please # to comment.