Page tree

Versions Compared

Key

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

Light arrays are very similar to instance arrays.  The major difference is that you don't need an instance source location.  Light arrays can be created with an OpScript.  See the lightArray.katana file for an example of how to create light arrays from a point cloud.   

If you create a light array from a light in GafferThree, you need to make sure that the location type isn't changed until after the ImplicitResolvers run. For example, if you change the location type via an OpScript, set the executionMode to "deferred". This will allow the light array to respect the mute state of the GafferThree light.

Here are the steps to create a light array:

...