Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create 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.