User Tools

Site Tools


Gel Light

Brickyard : Roots > Lights

Implements a light with an image “gel.”

By default, Gel lights will automatically replace one another when added to the scene. To add multiple Gel lights, hold down the CTRL or CMD key while you double-click or drag an extra light into the scene from the Content Library tab.

Snapshot

Root Gel Light Brick

Parameters

Inputs

  • Tint : Color - Description…
  • Field of View : Float - Description…
  • Shadow : Color - Description…
  • Intensity : Float - Description…
  • Light Color : Color - Description…
  • Decay(1/r^2)1) : Float - Description…
  • Root Settings2) : Float - Description…
  • X Scale : Float - Description…
  • Y Scale : Float - Description…
  • Sample Mode : Description…
  • Illumination : Description…

Examples

  • In this example, …
    Example 1
  • When using an image brick, the texture coordinates s and t have to be supplied manually from the variables LightS and LightT. Also, even though the gel light looks and handles like a Spot Light, it has the quadratic falloff curve of a Point Light. Setting the decay exponent to 0 via the Light Decay brick is usually what you want.
1) , 2)
Available when Show Advanced is checked in the Brick Option Menu.