constantSwitchField

field
constantSwitchField
RayTK
v0.36

Switches or blends between constant values based on an index field.

Parameters

  • Return Type:
    • Float:
    • Vector:
  • Extend:
    • Clamp:
    • Loop:
    • Zig-Zag:
  • Blend Indices:
  • Offset:
  • Count:
  • Value 1:
  • Value 2:
  • Value 3:
  • Value 4:
  • Value 5:
  • Value 6:
  • Value 7:
  • Value 8:

Inputs

  • Index Field: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float