rotateNormals
Keywords:
- material
- modularmat
- normals
- rotate
- spin
- transform
filter
rotateNormals
RayTK
v0.42
Applies rotation to the surface normals used by material elements such as specularContrib
.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Rotate Order | |||
| |||
Rotate XYZ |
Inputs
-
definition_in
: (required)- Coordinate Types:
vec2
vec3
- Context Types:
MaterialContext
- Return Types:
float
vec4
Sdf
Volume
Ray
Light
Particle
- Coordinate Types:
-
Rotate Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
MaterialContext
- Return Types:
vec4
- Coordinate Types: