- Home /
Question by
tataryn_brian · Dec 22, 2011 at 10:10 PM ·
shadershaderstransparent
Calling Different Shader Passes
I was wondering how you would go about applying different shader passes during runtime. Lets say the normal shader is a bumped specular. Now I want a Cutaway or partial transparent shader; but, the model must maintain the metallic look from bumped specular. Next, I need an outline such as Toon Basic Outline shader. Here is the catch! The Outline must also maintain the metallic look from bumped specular and it must also be able to use or not use the transparent cutaway. Obviously you can set a parameter to ignore the alpha 0. but how to I make the shader so I can turn on and off each of the effect with any combination of the three being on at any given time.
Comment