4
$\begingroup$

Can I fade in transparency of a material based on distance to camera when the object is part of an array of objects? It seems that they only use the original object's location attributes. However when I apply modifiers the material still won't attenuate based on ray depth? enter image description here

I am trying to fly through the array objects, but I want to fade them in gently as I go so that they don't 'pop' into view.

$\endgroup$
6
$\begingroup$

Use the camera data node and a color ramp to control the transparency.

enter image description here

enter image description here

Note that you might need to increase the transparency bounce settings for the Light Paths to prevent artifacts.

enter image description here

Or you might want to try controlling the transparency through the Ray length on the Light Path:

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.