View Full Version : Architectural shaders

04 April 2008, 05:49 PM

I'm not exactly sure how to separate my diffuse and ambient pass when using architectural shaders plugged into a mix 8 color. Does anyone know of a quick way to do this. What parameters should I override to create my passes?

Thanks in advance for the help

04 April 2008, 12:12 AM
I've found half of the answer but i'm still looking for a way to render the ambient pass while all I have in my scene are architectural shaders.

Here is a screenshot of my workaround to render my diffuse pass wt architectural shaders;action=display;threadid=35746;start=0#lastPost

04 April 2008, 12:22 AM
I found a fairly simple work around for the T2 shoot materials but can't remember it off the top of my head. I'll try and dig up a file with it- not sure if it will help your situation, but it was a very similar issue...

04 April 2008, 12:26 AM
Man does XSIbase search suck! Had to use google to find my own post! OK...enough of that...

Here was my solution:;action=display;threadid=34751

04 April 2008, 01:34 AM
Great little work around, but what did you use for the ambient parameter, did you leave it at default (0.3)?

04 April 2008, 05:36 AM
Here are the definitions of diffuse and ambient passes I've found in Jeremy Birn's book [Digital lighting & rendering]:

-> A diffuse pass is the full-color rendering of your object, including color, and texture, but not including reflections, highlights, or shadows

-> An ambient pass (also known as a color pass) shows the color and texture maps on your surfaces, but does not include any diffuse, specular, shadows, or reflections.
(meaning the object appears flat - like just a texture plugged in a constant)

So I've figured out a workaround to get all my passes for architectural shaders using global passes, but I'm still looking for a way to do it in render channels.
It's too bad the "mia_material_wrapper" doesn't work with a 'mix_8colors' .

Here is a screenshot of my ambient pass to explain what my setup is and how I setup my override (I just have to turn on and off my "inuse" and hide or unhide my lights). But i'm sure there's a better way.

CGTalk Moderation
04 April 2008, 05:36 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.