mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Added SDF nodes to visual shader
This commit is contained in:
committed by
Rémi Verschelde
parent
869f5b5328
commit
4618e09f3b
15
doc/classes/VisualShaderNodeScreenUVToSDF.xml
Normal file
15
doc/classes/VisualShaderNodeScreenUVToSDF.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeScreenUVToSDF" inherits="VisualShaderNode" version="4.0">
|
||||
<brief_description>
|
||||
A function to convert screen UV to a SDF (signed-distance field), to be used within the visual shader graph.
|
||||
</brief_description>
|
||||
<description>
|
||||
Translates to [code]screen_uv_to_sdf(uv)[/code] in the shader language. If the UV port isn't connected, [code]SCREEN_UV[/code] is used instead.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
||||
Reference in New Issue
Block a user