I’m struggling to work out how to use Object ID’s when compositing AO for objects/materials that have different ‘Amb’ settings.
On the wiki page about ‘Render Passes’ under the section about ‘Compositing Ambient Occlusion’ it says:
"To configure your noodle,
1 . First, depending on the AO mode do one of the following: If AO mode is Add: directly use the AO pass. If AO mode is Sub: Calculate AO - 1, or if AO mode is Both: Calculate 2*AO - 1
2 . Multiply the output of Step 1 with the AO energy level
3 . Multiply the output of Step 2 with the material’s ambience value. If you have materials which receive different ambience light levels (0.5 is the default), one would have to create an ambience map based on Object ID)
4 . Multiply the output of Step 3 with the color pass
5 . Add the output of Step 4 to the diffuse pass"
I’m having trouble with step 3. I know how to assign different Object Indexes and connect them to ‘ID Masks’ but i don’t know how to use these to then create the ‘ambience map’ in the compositor using noodles. If someone could point me in the right direction it would be much appreciated.