Ambient Occlusion Pass Switcher for Mental Ray

The script will set up the scene for the calculation of Ambient Occlusion Pass.

The script will switch off lights, Final Gathering, GI, Exposure, Enviroment map and create Standard material customized for AO pass and put it into override material slot in "processing" tab.

AO map parameters should be set up by user himself. After creating AO, you can return the initial state of the scene by turning off AO rendering mode (click again on the button).

------------------------------------

installation:

1. Run the script.
2. Create button for the script (you can find it in Category: Mental Ray)
By clicking the button you toggle on AO rendering mode.

 

AttachmentSize
aopass_switch.ms2.54 KB