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?
The idea is that since the particle instancer can’t use pp attributes…like rbgPP…I was going to basically uninstance the particles and apply an rgb channel to each piece of geo and I want to somehow be able to use that at render time…any thoughts?