Nodes > Math > Geometric > FaceForward
Flips the supplied surface normal to face in the opposite direction I. If it already faces away, return the normal as-is.
Inputs
Name | Type | Description |
---|---|---|
N | float | Normal to flip |
I | float | Incidence vector (usually direction vector from camera to vertex) |
NRef | float | Reference vector to compare against I |
Outputs
Name | Type | Description |
---|---|---|
faceforward( N, T, NRef ) | float | Normal vector that faces the opposite direction of I |
Was this page helpful?