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.

VisualShaderNodeWorldPositionFromDepth

继承: VisualShaderNode < Resource < RefCounted < Object

可视化着色器节点,使用深度纹理计算像素在世界空间中的位置。

描述

WorldPositionFromDepth 节点重建世界空间中像素的深度位置。这可被用于获取用于投影映射(如焦散)的世界空间 UV。