reckfellENGINE

VisualShaderNodeFaceForward

Returns the vector that points in the same direction as a reference vector within the visual shader graph.

On this page
class VisualShaderNodeFaceForwardReckfellSharpInherits VisualShaderNodeVectorBase

Returns the vector that points in the same direction as a reference vector within the visual shader graph.

Translates to faceforward(N, I, Nref) in the shader language. The function has three vector parameters: N, the vector to orient, I, the incident vector, and Nref, the reference vector. If the dot product of I and Nref is smaller than zero the return value is N. Otherwise, -N is returned.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

VisualShaderNodeFaceForwardConstructor
# VisualShaderNodeFaceForward
C#
public VisualShaderNodeFaceForward();
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.