SceneCapture2D Far plane Distance forced at 2.6 Km

Ortho Far plane is computed as UE_FLOAT_HUGE_DISTANCE / 4 in BuildOrthoMatrix in SceneCaptureRendering.cpp.

Wouldn’t it be better to move use a function argument (as you did with InOrthoWidth)?

I didn’t debug any further, so I don’t know if the scene culling has the same issue.

[Attachment Removed]

Steps to Reproduce
Create a new OpenWorld map, place a scene capture2D to the ground, move it at z=3Km.

[Attachment Removed]

Support for Max View Distance Override and Custom Near Clipping Plane for orthographic Scene Captures has been implemented and will be available in patch 5.8.2.

Cheers!

--Jason

[Attachment Removed]

Hi. Thanks. Can you point me to the perforce CL? Thanks.

[Attachment Removed]

CL 54364188 was the original, but CL 56298151 was an integration edited version for Release with a minor improvement to avoid a potential divide by zero in degenerate cases, and would be the preferred version if you are manually integrating. The updated version made it back to the main branch as of CL 56298304, and was integrated to UE5 Release 5.8 as CL 56699511.

--Jason

[Attachment Removed]