Keep up-to-date with Free tutorials!!


Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more


Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

submit tutorial
Lightmap based Ambient Occlusion - Faking FG with sampled Lightmap and AO shader

| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(Score 0 out of 5 after 0 Votes)
| Comments 1
Date Added: 9th December 2009
Software used:
This tutorial shows a method for generating FinalGather like ambience using the XSIAmbientOcclusion and the Lightmap Color_Sampler shader in XSI. The basic idea behind this, is to create faster and non-flickering (animation) renderings. Unfortunately this method is not as accurate as FG and doesn't support multiple bounces.

Let's take a look how this works:

1: First we are going to create a polymesh sphere which will sample the scene
lightning for the ambience.
More on this a few steps later.
Make the sphere as small as possible to avoid lights being inside it.
Create a spherical texture projection for the sphere.
Open the visibility options and uncheck primary and secondary rays and shadowcasting, -receiving as well.


2: Then create a new material and plug a color_sampler node to the Lightmap port of the Material and a Simple Lambert node in the input port of the Color_Sampler.
The material doesn't need to have a node plugged into the surface port.
Make the diffuse of the lambert pure white and the ambience pure black.
Apply this material to the sphere.


3: Create a new phong material and plug a XSIAmbientOcclusion node into the ambience port of the phong node.
Set the AO spread to 0.9 (you should not raise it higher than this value cause the node will create artifacts) and the Output Mode to Sampled Environment.
Create an Environment node and plug it into the environment port of the material.
Under Clips in the RenderTree menu, choose the Lightmap_Color clip that was created with the Color_Sampler node in the sphere material. Connect the clip to the environment node.



4: Create some geometry in the scene and apply the newly created material to the objects.
Add some lights and light the scene as you like. Raise the scene ambience to
pure white and render the scene. That's it!

To view a movie please use this link

Thank you for the reading!

Related Tutorials

Making Of '1964 Peugeot 404'

by Richard Clark
published on 2009-12-29

Keywords: vehicle, car, peugeot, xsi,

rating star fullrating star fullrating star fullrating star fullrating star full (4)
Comments 0 Views 47955

Occlusion in 3dsmax 7

by Ozgur Ustundag
published on 2009-12-09

Keywords: vehicle, car, occlusion, max,

rating star nonerating star nonerating star nonerating star nonerating star none (0)
Comments 0 Views 43731

Ambient Occlusion Animation

by Dani Ohayon
published on 2012-07-12

Keywords: ambient, occlusionm animation, lighting, rendering,

rating star fullrating star fullrating star fullrating star fullrating star half (4)
Comments 1 Views 48734

Mudbox 2009 Quick Start Series: Baking Ambient Occlusion Maps In Mudbox

by Wayne Robson
published on 2010-12-30

Keywords: baking, ambient occlusion, ao, creature, head,

rating star fullrating star fullrating star fullrating star nonerating star none (2)
Comments 0 Views 10368
Readers Comments (Newest on Top)
Tom on Mon, 12 August 2013 11:35pm
any chance of a more detailed version? I can't get it to work Thanks
Add Your Comment..