blue_riviera Posted June 15, 2009 Share Posted June 15, 2009 Hi, (Noob question again -- I read about this in the forums, but of course now I need it I can't find it...) What I'd need is to be able to attach "labels" to child rays somehow in mantra. (To pass on more detailed information to my own shader(s) that deal with those child rays). Any idea on how to do this? Thanks imre Quote Link to comment Share on other sites More sharing options...
blue_riviera Posted June 16, 2009 Author Share Posted June 16, 2009 Hi,(Noob question again -- I read about this in the forums, but of course now I need it I can't find it...) What I'd need is to be able to attach "labels" to child rays somehow in mantra. (To pass on more detailed information to my own shader(s) that deal with those child rays). An example: I'd like to attach a label or tag (let's say, a string) called "occlusion" for rays that calculate occlusion, or "refract" for refraction rays, etc. (similar functionality exists in mental ray) This way, my shader that handles the child ray would know more details about the ray type, and act accordingly. imre Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.