PDA

View Full Version : toon and constant shaders...an override problem...


Jacobo
07-13-2003, 03:46 AM
Hi again;

This time I have a problem with matte passes. I have some objects that should be seen in the RGBA channels and some bg objects that shouldn't be seen in the RGBA channels but should clip the foreground objects... So, I created an RGBA matte pass (cuz like I said, this is the type of isolation I need) and looked inside the matte and bg partitions and saw that the bg partition objects' diffuse and specular inuse nodes are overriden to achieve the effect. But the thing is that some of the objects I have to isolate from the alpha channel for this pass have constant and toon shaders applied to them and although XSI creates the appropriate overrides for these type of objects, these objects show up in the rgb and alpha channels. Then I go into the bg partition and see that the override has overriden the specular and diffuse inuse params of the toon and constant shaders but when I dig into those objects' shaders, I see in actuality nothing is overiden, because the constant and toon shaders have no such parameters... I just wish there was a special matte shader that universally handled all the materials for the given task. But anyhow, is there a workaround for this?

thanx

aj

Jacobo
07-13-2003, 04:03 AM
I have found a workaround which is giving all the objects in the bg partition a temp phong shader and overriding their diffuse and specular inuse properties manually... But alas, as in Mr. Lebel's multiple textures on single shader tutorial, the override comes not as chackboxes but plugs so one has to go into the script editor and re-create the overrides manually by adding a ", 2" at the end of the command... I do hope softimage looks into this matter soon enough... IMT, is there another practical solution to this?

aj

Atyss
07-13-2003, 06:01 AM
Try this:

On the objects that have toon material, create a partition and override the parameters you need. Create another partition for the objects with more standard surface shaders. Put the overrides on both of these partitions.

On the Background partition, leave the objects you want to be visible.


Cheers
Bernard

Jacobo
07-13-2003, 12:35 PM
thanx bernard... I'll look into it...

cheers;

aj

CGTalk Moderation
01-15-2006, 03:00 PM
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.