Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

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.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.