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 'The Last Nutcracker'

by Francois Conradie
published on 2010-10-04

Keywords: character, cartoon, nutcracker, xsi,

rating star fullrating star fullrating star fullrating star halfrating star none (4)
Comments 0 Views 109232

Accessing Menus & Tools

by 13D Tutorials
published on 2009-12-09

Keywords: menus, tools, softimage, xsi,

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

Softimage XSI Video Tutorials

by i3D Tutorials
published on 2009-12-09

Keywords: texturing, shading, jelly, fish, xsi,

rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 0 Views 29457

Fast Ambient Occlusion in 3ds Max

by Tom Isaksen
published on 2010-11-16

Keywords: texture, texturing, ambient, occlusion,

rating star fullrating star fullrating star fullrating star fullrating star none (21)
Comments 13 Views 142049
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..