Skip to main content
Version: 5.x

Nodes > Math > Geometric > FaceForward

FaceForward

Flips the supplied surface normal to face in the opposite direction I. If it already faces away, return the normal as-is.

Inputs

NameTypeDescription
NfloatNormal to flip
IfloatIncidence vector (usually direction vector from camera to vertex)
NReffloatReference vector to compare against I

Outputs

NameTypeDescription
faceforward( N, T, NRef )floatNormal vector that faces the opposite direction of I
Was this page helpful?
Yes
No