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.
Checking the stable version of the documentation...
VisualShaderNodeFaceForward
Hereda: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object
Devuelve el vector que apunta en la misma dirección que un vector de referencia dentro del gráfico shader visual.
Descripción
Se traduce a faceforward(N, I, Nref) en el lenguaje de shaders. La función tiene tres parámetros vectoriales: N, el vector a orientar, I, el vector incidente y Nref, el vector de referencia. Si el producto punto de I y Nref es menor que cero, el valor de retorno es N. De lo contrario, se devuelve -N.