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
  • Rx Ry Rz:
  • Rx Rz Ry:
  • Ry Rx Rz:
  • Ry Rz Rx:
  • Rz Rx Ry:
  • Rz Ry Rx:
Rotate XYZ

Inputs

  • definition_in: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: MaterialContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
  • Rotate Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: MaterialContext
    • Return Types: vec4