colorSwitchField

field
colorSwitchField
RayTK
v0.36

Switches or fades between a list of colors based on an index field.

Parameters

  • Extend:
    • Clamp:
    • Loop:
    • Zig-Zag:
  • Blend Indices:
  • Offset:
  • Count:
  • Color 1:
  • Color 2:
  • Color 3:
  • Color 4:
  • Color 5:
  • Color 6:
  • Color 7:
  • Color 8:
  • Index Mode:
    • Index (0 .. N-1):
    • Index (1 .. N):
    • Normalized (0 .. 1):

Inputs

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

Images