Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

VisualShaderNodeSDFToScreenUV

Inherits: VisualShaderNode < Resource < RefCounted < Object

A function to convert an SDF (signed-distance field) to screen UV, to be used within the visual shader graph.

Description

Translates to sdf_to_screen_uv(sdf_pos) in the shader language.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.