From 7707c80d8bf60c6ec5a216e9a3bd2d87f69be858 Mon Sep 17 00:00:00 2001 From: tritonas00 Date: Sun, 6 Mar 2022 18:52:27 +0200 Subject: [PATCH] fixed caelum sky rendered black on left mirror --- source/main/gfx/GfxActor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/main/gfx/GfxActor.cpp b/source/main/gfx/GfxActor.cpp index b5aebe1781..b1e187cbb2 100644 --- a/source/main/gfx/GfxActor.cpp +++ b/source/main/gfx/GfxActor.cpp @@ -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. }