Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can 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.