classes/class_camera3d #372
Replies: 1 comment
-
|
Note that the projection returned by This means that projected values will have a z range of [-1, 1] instead of the expected [1, 0] values (from near to far plane), which might lead to unexpected results, for example if used as a shader uniform. To fix this, you can multiply the projection by var projection: Projection = Projection.create_depth_correction(true) * camera.get_camera_projection() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_camera3d
Inherits: Node3D< Node< Object Inherited By: XRCamera3D Camera node, displays from a point of view. Description: Camera3D is a special node that displays what is visible from its current location. ...
https://docs.godotengine.org/en/stable/classes/class_camera3d.html
Beta Was this translation helpful? Give feedback.
All reactions