You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
The documentation for Camera3D.get_camera_projection() states that the returned projection is the one "this camera uses to render to its associated viewport". This is not entirely accurate, though, since the returned projection does not include the depth correction applied in the Vulkan backend. This behavior might confuse some users when trying to use said projection, as the produced depth-values will be in [-1, 1] instead of the otherwise expected [1, 0] range.
I already added a comment on the documentation page noting this issue, but would propose to include a similar note into the documentation to make this more clear.
Your Godot version:
4.3
Issue description:
The documentation for
Camera3D.get_camera_projection()
states that the returned projection is the one "this camera uses to render to its associated viewport". This is not entirely accurate, though, since the returned projection does not include the depth correction applied in the Vulkan backend. This behavior might confuse some users when trying to use said projection, as the produced depth-values will be in [-1, 1] instead of the otherwise expected [1, 0] range.I already added a comment on the documentation page noting this issue, but would propose to include a similar note into the documentation to make this more clear.
URL to the documentation page:
https://docs.godotengine.org/en/4.3/classes/class_camera3d.html
The text was updated successfully, but these errors were encountered: