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

colorRampField

Keywords:
  • color
  • gradient
  • ramp

A vector field that maps an input field to values from a range of colors.

Parameters

  • Enable:
  • Coord Type:
    • Auto:
    • 1D:
    • 2D:
    • 3D:
  • Axis:
    • X:
    • Y:
    • Z:
    • Distance From Origin:
  • Color 1:
  • Alpha 1:
  • Color 2:
  • Alpha 2:
  • Coordinate Range:
  • Extend Mode:
    • Hold:
    • Zero:
    • Repeat:
    • Mirror:

Inputs

  • coord_field_definition_in: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4