So if I have 10 cubes, all with the same material and each with a different Visibility value. On some other render engines, like VRay, they will all render transparent respective to their visibility value.
But in Arnold they do not do that, it seems that what I would have to do is create 10 copies of the same material (one for each cube) and change the Opacity value of each material instead. This is cumbersome and means that if I want to change the material properties, I would need to do it 10 times.
Soooo can you implement something that reads the visibility value of the object, giving the desired effect at render time?
Cheers
Put user data on each object, and use that to drive the opacity.