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.
Checking the stable version of the documentation...
VisualShaderNodeWorldPositionFromDepth¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
A visual shader node that calculates the position of the pixel in world space using the depth texture.
描述¶
The WorldPositionFromDepth node reconstructs the depth position of the pixel in world space. This can be used to obtain world space UVs for projection mapping like Caustics.