Attention: Here be dragons (unstable version)

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Redot.

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.