Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

VisualShaderNodeScreenUVToSDF

继承: VisualShaderNode < Resource < RefCounted < Object

将屏幕 UV 转换为 SDF(带符号距离场)的函数,在可视化着色器图中使用。

描述

翻译为着色器语言中的 screen_uv_to_sdf(uv)。如果该 UV 端口未被连接,则改用 SCREEN_UV