Up to date
This page is up to date for Godot 4.1
.
If you still find outdated information, please open an issue.
VisualShaderNodeLinearSceneDepth¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
A visual shader node that returns the depth value of the DEPTH_TEXTURE node in a linear space.
Description¶
This node can be used in fragment shaders.