暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Scene-Depth-Difference-Node.md 1014B

Scene Depth Difference

Description

Provide a difference between a World Space Position and a Depth value for a given UV.

Ports

Name Direction Type Binding Description
Scene UV Input Vector4 None UV where to sample the depth.
Position WS Input Vector3 None The world space position to compare with scene depth.
Out Output Float None The difference between PositionWS and the depth. The difference is given relative to camera with Eye mode, in depth-buffer-value with Raw mode and in Linear value remap between 0 and 1 with the Linear01 Mode.

Controls

Name Type Options Description
Mode Dropdown Select Linear01 to have a value between 0 and 1, Eye to have a World-Space value comparable to unit used on the scene and Raw if it’s used with SceneDepthBuffer.