This tutorial is for all my 3d artist friends out there and it's all about using ambient occlusion in 3ds Max, with the help of just Mental Ray. Ambient occlusion is a widely used pass in the industry these days. There are many different ways to do this, but as per my experience with bigger scenes people generally face lots of problems, e.g. the crashing of scenes, alphas not generating properly for plants or any opaque objects. Another question is, which plug-in to use and how? Lately I have come across a better and crash proof technique using Mental Ray. Let's start with a simple scene in 3ds max. Below I have a simple scene set up with 3 just planes and a box (Fig01).
Let's say I have some different materials applied to all the different objects and my planes have two different leaf textures, with alpha in the scene, as shown below (Fig02).
Now open the render scene setup option and change the renderer from default scan line to mental ray renderer. Open the material editor and click on an empty slot. Then click on the get material and add an ambient/reflective occlusion map, as shown in Fig03.
Here comes the real work! After adding this new map (ambient/reflective occlusion) to an empty slot, add this map to the self illumination slot to both the leaf materials (and any other material with alpha in scene). Be sure to use instance while dragging and dropping onto the slot. Turn off the colour map and change the colour slot for diffuse to pure white, as shown below in Fig04.
Now add a new mental ray material to an empty slot with the ambient/reflective occlusion map added to its surface slot (use instance), as shown in Fig05 - 06 below.