PDA

View Full Version : sample's info


poly enslaver
12-25-2003, 07:09 AM
Hi everybody!
I've got a simple question. How can I get something like material or object ID at the requesting the samplerinfo node? I mean how can I know what is the material that is sampled, can I do that with samplerinfo node? Such things would be very usefull in Shading Networks. Thx in advance.

jeremybirn
12-25-2003, 09:57 AM
A "triple switch" utility node lets you branch off to different textures for different objects, even when all the objects share the same shader. That lets a shading network do most of the surface-specific things you could want.

-jeremy

poly enslaver
12-25-2003, 10:23 AM
Hey, thx a lot! I am gonna try it right now!

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