Gradient Shader

About

Parameters

Parameters are accessed with C4DAtom::GetParameter()/ C4DAtom::SetParameter(). See Parameter IDs.


Parameter: Gradient

  • Parameter ID: SLA_GRADIENT_GRADIENT
  • Parameter Type: Gradient

Parameter: Type

  • Parameter ID: SLA_GRADIENT_TYPE
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • 2D - U (SLA_GRADIENT_TYPE_2D_U)
    • 2D - V (SLA_GRADIENT_TYPE_2D_V)
    • 2D - Diagonal (SLA_GRADIENT_TYPE_2D_DIAG)
    • 2D - Radial (SLA_GRADIENT_TYPE_2D_RAD)
    • 2D - Circular (SLA_GRADIENT_TYPE_2D_CIRC)
    • 2D - Box (SLA_GRADIENT_TYPE_2D_BOX)
    • 2D - Star (SLA_GRADIENT_TYPE_2D_STAR)
    • 2D - Four Corner (SLA_GRADIENT_TYPE_2D_FOUR_CORNER)
    • 3D - Linear (SLA_GRADIENT_TYPE_3D_LINEAR)
    • 3D - Cylindrical (SLA_GRADIENT_TYPE_3D_CYLINDRICAL)
    • 3D - Spherical (SLA_GRADIENT_TYPE_3D_SPHERICAL)

Parameter: Cycle


Parameter: Start


Parameter: End


Parameter: Radius


Parameter: Turbulence


Parameter: Octaves


Parameter: Scale


Parameter: Frequency


Parameter: Seed


Parameter: Angle


Parameter: Absolute


Parameter: Space

  • Parameter ID: SLA_GRADIENT_SPACE
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • Texture (SLA_GRADIENT_SPACE_TEXTURE)
    • Object (SLA_GRADIENT_SPACE_OBJECT)
    • World (SLA_GRADIENT_SPACE_WORLD)
    • Camera (SLA_GRADIENT_SPACE_CAMERA)
    • Screen (SLA_GRADIENT_SPACE_SCREEN)
    • Raster (SLA_GRADIENT_SPACE_RASTER)