Skip to main content Link Menu Expand (external link) Document Search Copy Copied

rotateNormals

beta
Keywords:
  • material
  • modularmat
  • normals
  • rotate
  • spin
  • transform

Applies rotation to the surface normals used by material elements such as specularContrib.

Parameters

  • 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 Ray Light Particle
  • Rotate Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: MaterialContext
    • Return Types: vec4