... continued from part 2
Switch back to our "full" lighting scheme, and do fix-up as required to get back to our original look:
- Open the Starting-Point File
- File|Open... field-guild_ao_bake_skylightfixed.max
- Render. This is the point we left off from in part 2 of this tutorial
- Switch back to the full-render preset and render
- In the render panel, in the Brazil Bridge Renderer rollout, change the "Active Setup:" to "full render"
- Render.
What you get now is an overly bright, red/pink image -- the ground plane is too bright, and the teapot has way too much red bounce from the ground -- so let's think about what's happening. First, the ground plane is really bright, which would make sense since it's both self lighting due to the Occlusion map and it's also receiving skylight. So let's exclude this from skylight. With any luck, once the ground is fixed, the teapot will get back to normal:
- Exclude the ground plane from skylight in the "full render"
- select the ground plane in the scene
- Right click the "Receiver Exclude..." button in the Luma Server's "Skylight" section and select "Add Selected"
- Render.
Problem: The groundplane is still overbright, so what's up? It turns out that We've stumbled across a bug here. At this point, we report the bug. :) We found, through experimentation, that we could get the plane's brightness where we expected by adding the plane to the renderer's GI "Receiver Exclude...". So, with the plane still selected...
- Right click the "Receiver Exclude..." button in the Luma Server's "Global Illumination" section and select "Add Selected"
- Render.
Now the ground-plane looks good, but the teapot is still too bright. This one was a bit trickier to figure out. After a bit of trial and error, it was discovered that the "Skylight" checkbox is turned off in the QMC Sampler section of the Luma Server. We investigated this, and sure enough, if you take the original scene and turn on that checkbox, the teapot gets much pinker, like we're seeing here. So, we now have a self-illuminated object (the ground) that's illuminating the teapot, which is the same thing skylight would have done by simply reflecting off the ground in the first place, but the skylight contribution had effectively been excluded from the teapot. Our Occlusion map has replaced the effects of skylight on our ground-plane, so how do we exclude the effects of just that Occlusion map from the teapot? Sounds like a job for the Brazil2 Utility material. We'll use the Utility material to decouple what's seen directly by the camera from what's seen in the GI bounces:
- Put the "plane" material into a Brazil2 Utility material to get better control of its GI characteristics
- In the material editor, select the "plane" material.
- click the material "Type Button", which says "Brazil2 Advanced" and select a Brazil2 Utility Material.
- Select "Keep old material as sub-material?" when prompted.
- Open the "Global Illumination Parameters" in the Brazil2 Utility material and drag/drop the "plane (Brazil2 Advanced" material from the "Base" slot above into the "Material" slot of the Util mtl's GI params.
- Select "Copy" when prompted.
- Turn off the Extra Light that's coming off the plane when seen as indirect illumination (aka GI bounces)
- Click the "plane" material in the Util Mtl's GI Params rollout so that we can edit this sub material
- In that Brazil2 Advanced material, navigate to the Basic Surface Properties panel and click the checkbox to the right of the Extra Light slot -- this will turn off the Extra Light that's being seen in the GI bounces
- Render.