Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
MultiExcerptNameRendering with Ambient Occlusion

Ambient occlusion and direct light render combined using post-processing software


An alternative technique to lighting a room is to use Ambient Occlusion. A typical workflow is to composite the Ambient Occlusion render onto a Diffuse rendered image that does not have any GI Diffuse rays. The advantage is that it is typically faster to render and can give more creative control when compositing. You will also not need to add any GI Diffuse or GI Specular rays to the scene. However, it is not a physically accurate method, and some experience with compositing is required to fine-tune the final look.


Ambient Occlusion shader

  • Start by creating an Ambient Occlusion shader and assign it to the room geometry. Increasing the Samples of the Ambient Occlusion shader to around 6 will reduce any noise associated with this shader.
  • Render the scene using the Ambient Occlusion shader. It should like the image below:

Rendered using only the Ambient Occlusion shader


Direct lighting render

  • Now render the scene using direct lighting only (in this case area lights have been positioned outside the windows, but you could try other lights such as the SkyDome light). However, in this case, ensure that GI Diffuse samples are set to 0. You should notice when you render the scene that there is no bounced light and the back wall will be black. We will use the ambient occlusion in Nuke to 'fill in' the areas that have no bounced GI Diffuse light. 

Direct light (Indirect 0)



  • Open both renders in Nuke. Create a merge node and connect the Ambient Occlusion render to the 'A' input and the Direct light to the 'B' of the 'merge' node. Make sure the 'Operation' is set to 'Over'. Adjust the 'mix' to around 0.5. You should notice the Ambient Occlusion appear in the black areas of the 'Direct light' image. It should be obvious that we are in effect 'cheating' the use of bounced light using Ambient Occlusion.

Ambient occlusion render merged with diffuse render (no GI)


The images below show the results of merging (over) the 'Ambient Occlusion' render onto the diffuse lighting (without GI) render. The benefits are that it is reasonably fast to render and does not contain any GI noise.




The images below show the result of rendering using an Utility shader set to flat color, merged with the ambient occlusion AOV. This renders very quickly, however . However the results are far from photo-realistic.



© 2020-2021 Autodesk. All Rights Reserved / website terms / privacy/cookies / ccpa settings