Skip to content

Increase the default Camera Zfar to 4000

Created by: Calinou

This makes it possible to view far away objects without having to tweak any settings. This results in a more usable editor when working on large-scale levels.

This change should have no impact on performance, but note that Z-fighting will be visible at a distance. This can be made less visible by increasing the Znear value (however, doing so will cause nearby surfaces to disappear). This change was also applied to the editor, but it will only apply to newly created scenes.

This also changes the default camera settings in the glTF importer to match the Camera node's defaults.

cc @lawnjelly, as he inspired me to do this in #32764. I also considered increasing the default Znear value back to 0.1 for better depth buffer precision, but this may not be a good idea as many games may be putting the camera close to walls/floors.

Merge request reports