Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualShaderNodeScreenUVToSDF¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
A function to convert screen UV to an SDF (signed-distance field), to be used within the visual shader graph.
描述¶
Translates to screen_uv_to_sdf(uv)
in the shader language. If the UV port isn't connected, SCREEN_UV
is used instead.