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.

VisualShaderNodeVectorRefract

繼承: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object

返回指向折射方向的向量。在視覺化著色器圖中使用。

說明

在著色器語言中轉換成 refract(I, N, eta),其中 I 是入射向量,N 是法線向量,eta 是折射的比率。