Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creating a Spot Light

An area A spot light source can be created in the GafferThree node parameters panel..'s Object table by right-clicking in the light list section and selecting Add → Spot Light, or by pressing the Q key. It will be shown in the Viewer as a cone.

A spot light in the GafferThree node parameters and in the Viewer.

Controlling

Shaping and Positioning a Spot Light

The object Object tab serves to select the Spot Radius of the spot light and wether it is Visible to Camera. It also presents the :

  1. The light's transform (which can be edited interactively in the Viewer).
  2. The option enable aim constraint which, if turned on, will display the standard GafferThree parameters for aim constraint.

Adjusting a Spot Light Shape Visibility

The spot light can be made Visible to Camera in the Object tab.

Controlling the Light from a Spot Light

The Material tab serves to control several parameters of the spot light. The effect of these are explained and illustrated in the next section.

The object parameters of a spot light.

Image Modified

The material parameters of a spot light.

Spot Radius

The radius of the circle that emits light. If the spot light is seen as a cone, this is analogue to truncating the cone tip where the cone has a radius equal to Spot Radius. A very small value makes the cone near ideal. Increasing the Spot Radius will soften the lit region edge and the shadows casted by the spot light.

Visible to Camera

Makes the light source visible to the camera (a.k.a primary rays). 

enable aim constraint

Turning this parameter on will display the standard GafferThree parameters for aim constraint.

Cone Angle

Defines the cone angle, in degrees. 

Penumbra Angle

Defines the spread of the zone over the spot light beam edge where the light intensity will linearly falloff to 0. A value of 0 defines a sharp spot light beam edge. Positive angles define a beam falloff zone that spreads larger than the cone angle; larger values making a softer edge. Negative values define a falloff zone smaller than the cone angle; again, larger values making a softer beam edge.

Drop Off

Specifies the rate at which the light intensity decreases from the spot light beam center to the edge. 

Excerpt Include
SFRP:Spot

Light

Light

Spread

SFRP:Spot

Light Light Spreadnopaneltrue

Excerpt Include
SFRP:Light IntensitySFRP: Light Intensity
nopaneltrue
Excerpt Include
SFRP:SpotLight Barn DoorsSFRP:SpotLight Barn Doors
nopaneltrue