0.2.0-dev Download ZIP
11 lines ·606 B Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VisualShaderNodeScreenUVToSDF" inherits="VisualShaderNode" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | A function to convert screen UV to an SDF (signed-distance field), to be used within the visual shader graph. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | </class> |