normalGeometry

Last modified: Aug 27, 2024

TSL object that represents the normal attribute of the current rendered object in local space.

Type

Node<vec3>

normalLocal

TSL object that represents the vertex normal of the current rendered object in local space.

Type

Node<vec3>

normalFlat

TSL object that represents the flat vertex normal of the current rendered object in view space.

Type

Node<vec3>

normalViewGeometry

TSL object that represents the vertex normal of the current rendered object in view space.

Type

Node<vec3>

normalWorldGeometry

TSL object that represents the vertex normal of the current rendered object in world space.

Type

Node<vec3>

normalView

TSL object that represents the vertex normal of the current rendered object in view space.

Type

Node<vec3>

normalWorld

TSL object that represents the vertex normal of the current rendered object in world space.

Type

Node<vec3>

clearcoatNormalView

TSL object that represents the clearcoat vertex normal of the current rendered object in view space.

Type

Node<vec3>

transformNormal

Transforms the normal with the given matrix.

ParameterTypeDefault Value
normalNode<vec3>
matrix?Node<mat3>

Returns

Node<vec3>

transformNormalToView

Transforms the given normal from local to view space.

ParameterTypeDefault Value
normalNode<vec3>
builderNodeBuilder

Returns

Node<vec3>

transformedNormalView

TSL object that represents the transformed vertex normal of the current rendered object in view space.

Type

Node<vec3>

transformedNormalWorld

TSL object that represents the transformed vertex normal of the current rendered object in world space.

Type

Node<vec3>

transformedClearcoatNormalView

TSL object that represents the transformed clearcoat vertex normal of the current rendered object in view space.

Type

Node<vec3>