USD lighting

Create a USD light

To create a USD light, right-click a stageShape, go to Add New Prim > All Registered > Lighting, and select the light you want from the list. After the light is created, you can edit its attributes in the in the Attribute Editor.

The Light Link Collection widget lets you specify which objects are affected by a USD light. You can either use the Include and Exclude panels to provide a list of prims to be included or excluded from illumination, or provide a path expression in the Expression panel to specify which objects are illuminated.

Specify Collection using prim paths

  1. Include: Provides objects to be included in the collection for illumination. The Include all option is on by default. When this option is on and no objects are specified in the Include or Exclude panel, the light illuminates all the objects. It's automatically turned off when an object is dragged into the Include panel.
  2. Exclude: Provides objects to be excluded from the collection for illumination.
  3. Search bar: Searches for an object in the Include or Exclude list.
  4. More menu: Click to view more options. See More options for light link collection.

In the Include/Exclude panel, you can specify which objects are illuminated by the light.

Specify Collection using path expression

  1. Expression tab: Lets you write a path expression for specifying which objects to illuminate.
  2. More menu: Click to view more options. See More options for light link collection.

To specify which objects are illuminated using a path expression, type the expression in the Expression panel. If Include All is on, typing an expression automatically turns it off.

Note:

For the expression to work, ensure that Legacy Translation is unchecked in the Arnold section of the USD stage attributes in the Attribute Editor.

Some of the commonly used functions include:

Note:

When both the Include/Exclude tab and Expression tab are in use, a warning icon appears and the expressions will be ignored. The default tab will be the one that contains data. When both tabs have data, the default one will be Include/Exclude.

Click the ellipsis icon for more options.

For more information on path expression, visit Pixar's documentation on Open USD.