7.20. RMLightSource — RenderMan light source

class RMLightSource(name = "RMLightSource", shader = None)

shader specifies the light shader that should be used. It can either be a string containing the shader name or a RMShader instance representing the shader (see section RMShader — RenderMan shader).

The parameters of the shader is made available as attributes of the light source object. The corresponding slots can be obtained by adding the suffix _slot to the name.

Previous topic

7.19. MayaSpotLight — Maya spot light

Next topic

7.21. RIBArchive — Reference an external RIB archive

This Page