7
$\begingroup$

Consider:

Enter image description here

How would I make a sphere transparent when it is outside of a box that is transparent and have the sphere be visible when it is inside the transparent box?

$\endgroup$
0

1 Answer 1

12
$\begingroup$

For Cycles: [Sphere Material setup]

This verson invalid in other side

enter image description here

This verson valid for all side

enter image description here

enter image description here enter image description here enter image description here

$\endgroup$
2
  • $\begingroup$ screentogif.com ;) this is an elegant solution $\endgroup$ Apr 8 at 5:34
  • 2
    $\begingroup$ Can't you plug directly the Is transmission ray into the alpha input since it's a 0/1 value ? $\endgroup$
    – Gorgious
    Apr 8 at 5:57

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.