Up to date

This page is up to date for Godot 4.0. If you still find outdated information, please open an issue.

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.