rxgeez
11-17-2009, 04:48 AM
I wanted to find out if there is a mental ray and/or maya node similar to the particleSamplerInfo node but that works on custom attributes on geometry. Essentially I want to be able to create an attribute on an object and then apply that attribute's value to a shader at render time.
e.g. lets say I have 50 cubes and I apply a attribute called "transparency" to each with random values. I want to have one shader that at render time reads in the transparency value and maps it to the shaders transparency....in the same manner as the particleSamplerInfo node works.....any ideas? Is there a custom mental ray node/shader out there already...if not any idea how difficult it would be to write a custom node like that?
e.g. lets say I have 50 cubes and I apply a attribute called "transparency" to each with random values. I want to have one shader that at render time reads in the transparency value and maps it to the shaders transparency....in the same manner as the particleSamplerInfo node works.....any ideas? Is there a custom mental ray node/shader out there already...if not any idea how difficult it would be to write a custom node like that?
