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

directionalLight

A directional light.

The light always comes from the specified direction, rather than from a point.

Parameters

  • Direction:
  • Intensity:
  • Color:
  • Enable Shadow:

Inputs

  • Color Field: (optional)
    • Coordinate Types: vec3
    • Context Types: LightContext
    • Return Types: float vec4