3D to Screen Space Node

3D to Screen Space node.

The 3D to Screen Space node transforms 3D positions into normalized screen coordinates relative to a camera.

The output coordinates are normalized such that (0, 0) corresponds to the bottom-left corner of the camera view and (1, 1) corresponds to the top-right corner. Values outside this range represent positions outside the camera frame.

Входы (inputs)

Вектор (vector)

Position to transform into screen space.

Камера (camera)

Camera used for the transformation.

Clamp Depth

Clamp the output depth to the camera’s clipping range.

Выходы (outputs)

С нормализацией (normalized)

Normalized screen-space coordinates.

Глубина (depth)

Distance of the input position from the camera.

Values outside the camera’s clipping range are only returned when Clamp Depth is disabled.