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.

Description

Translates to screen_uv_to_sdf(uv) in the shader language. If the UV port isn’t connected, SCREEN_UV is used instead.

Previous Next


© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6.

Built with Sphinx using a theme provided by Read the Docs.