Notifications
Clear all
[Closed] mental ray & material id
Nov 05, 2008 3:42 pm
I’m writing mental ray shader <-> max shader conversion and I’m having trouble finding material ID on mental rays side.
In max’s shading the material ID of intersection is stored in ShadeContext::mtlNum.
How do I get this same number in mental ray?
- Jerry Ylilammi
1 Reply
Nov 05, 2008 3:42 pm
Oh and another question, how do I get the objects render ID (like ShadeContext::Node()->GetRenderID() in max) in mental ray? Is it the label parameter in mental ray?