You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

3Delight for Maya lets you run MEL scripts before and after each shadow map is rendered. These two variables are automatically defined in the context of the MEL script:

 string $shape_path        → Contains the current light shape path.

string $attribs_node    → Contains the current light attribute node name.

Pre Render MEL

Specifies a MEL script that will be executed before the shadow map is rendered. More precisely, the script will be executed just before the FrameBegin RIB statement of the shadow map. This attribute is empty by default.

Post Render MEL

Specifies a MEL script that will be executed after the shadow map is rendered. More precisely, the script will be executed just after the FrameEnd RIB statement of the shadow map. This attribute is empty by default.

  • No labels