mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-25 01:42:18 +08:00
Disabled camera clip planes updating from CutsceneForm, to fix rendering bug(s)
This commit is contained in:
@@ -63,7 +63,8 @@ namespace CodeWalker.World
|
|||||||
|
|
||||||
if (Cutscene.CameraClipUpdate)
|
if (Cutscene.CameraClipUpdate)
|
||||||
{
|
{
|
||||||
WorldForm.SetCameraClipPlanes(Cutscene.CameraNearClip, Cutscene.CameraFarClip);
|
//// disabled this because it seems to be causing some rendering issues
|
||||||
|
//WorldForm.SetCameraClipPlanes(Cutscene.CameraNearClip, Cutscene.CameraFarClip);
|
||||||
Cutscene.CameraClipUpdate = false;
|
Cutscene.CameraClipUpdate = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -262,7 +263,7 @@ namespace CodeWalker.World
|
|||||||
|
|
||||||
if (!AnimateCamera)
|
if (!AnimateCamera)
|
||||||
{
|
{
|
||||||
WorldForm?.ResetCameraClipPlanes();
|
//WorldForm?.ResetCameraClipPlanes();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user