Versions Compared

Key

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

Creating a Spot Light

A spot light can be created in the GafferThree'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.

...

Image ModifiedImage Modified

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

Object Parameters

Image Removed

The object 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 primary (a.k.a camera) rays. 

Transform

Defines the translation, rotation and scale applied to the spot light.

enable aim constraint

Shaping and Positioning a Spot Light

The Object tab serves to select the Spot Radius of the spot light. It also presents:

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

...

  1. will display the standard GafferThree parameters for aim constraint.

Material Parameters

Adjusting a Spot Light Shape Visibility

The

...

spot light

...

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.

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.

Image Added

The object parameters of a spot light.

Image Added

The material parameters of a spot light.

Drop Off

...

Excerpt Include
SFRP:

...

Contributions

...

Spot Light
SFRP:Spot Light

...

nopaneltrue