Diffuse Passes ? 2005-04-27 - By Andy Jones
Back Another strategy is to use consistent render trees throughout your scene, so that, for example, every material has a basic illumination shader (phong, lambert, strauss, etc.) plugged into the surface, then create a dummy object (like an implicit cube) with boolean parameters to enable/disable specular, diffuse, reflections, transparency, etc. If the materials are consistent, you can write a script to link the right parameters in your materials to the parameter set. Then, you just create a partition containing only the dummy object and make overrides for the parameters. If you have other weird passes, like occlusion, motion vector, etc., you could also have a standard render tree where the basic illumination shader always goes straight into the first color of a mixer, then plug your other shaders into the mixer.
The biggest advantage this has is that creating passes is nice and simple, and you usually don't have to worry about not being able to put clusters into partitions.
-Andy
Martin Belleau wrote:
>Using an override to toggle off specular doesn't always work because of >certain render trees. What I usually do, is put an override on my lights >partition and toggle off the specular there, instead of toggling off the >specular on my objects. Works like a charm every single time. > >Martin >Web - http://www.skuadstudios.com >work - 514.844.3990 ext.250 >mobile - 514.799.3990 > >Life is good!! > > >-- --Original Message-- -- >From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf >Of walksfar@(protected) >Sent: Tuesday, April 26, 2005 11:05 PM >To: XSI@(protected) >Subject: Diffuse Passes ? > >Hello there I got a question how the heck you setup a diffuse pass? I >know >how to create overrides and passes and partitions but what is the order >to >create a diffuse pass instead of turning it off and on in the overrides >panel ? >--- >Unsubscribe? Mail Majordomo@(protected) with the following text in >body: >unsubscribe xsi > > >--- >Unsubscribe? Mail Majordomo@(protected) with the following text in body: >unsubscribe xsi > > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|