Defines |
|
| #define | XSIMR_LIGHTDATA_LABEL 2860411 |
To pass this information to the shaders, Softimage associates a piece of user data with the light. The shader can then extract this user data from the light, and perform the appropriate calculations.
To find the user data, the shader must ask for the head of the list of user data associated with the light. The shader then searches through this list for the user data with the magic number XSIMR_LIGHTDATA_LABEL. If it finds it, it extracts the settings using the xsimrLightData struct. If it does not find the data, it implies that both specular and diffuse computations should be performed.
| #define XSIMR_LIGHTDATA_LABEL 2860411 |
The magic number for querying light userdata from a mental ray shader.