axisLight

Light that emits from along an axis, similar to an infinitely long tube light.

Parameters

  • Axis:
    • X:
    • Y:
    • Z:
  • Position:
  • Rotate:
  • Intensity:
  • Color:
  • Attenuated:
  • Attenuation Start:
  • Attenuation End:
  • Enable Shadow:

Inputs

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

Variables

  • lightdir: