Re: [cgkit-user] Problem with Texture Baking example ...
Brought to you by:
mbaas
From: Darran E. <dar...@an...> - 2006-05-28 06:28:29
|
Matthias Baas wrote: > So set up your scene with as many objects/lights as you like and then > set the "bakemodel" parameter in the command line or in the Globals section: > > Globals( > ... > bakemodel = "Model", > ... > ) > > By lights, I presume you mean instances of your RMLightSource(name, shader) class? In which case, is it necessary to replace the included bake_ao.sl shader in order to get shadows in my baked textures? I've never used Renderman before but looking at the existing ambient occlusion surface shader, it relies on the occlusion() function - but this doesn't generate direct light shadows. I'll continue to struggle with this but again, any advice you can offer is much appreciated. Cheers, Darran. |