I'm on Blender 2.8 and I want to create a special shader, which is harder than I thought.
I want to create a box, which contains more objects inside. The front face is a hole where we can see the inside. But I want the outside faces to be transparent, and make every objects inside transparents as well when the camera is in this axis.
On the pictures, the grey box is my main box where I want the transparent outside, opaque inside shader. The blue box is an object inside (that I actually see so my shader is not working) and the red one is kind of a background object.
So I want the red box not visible when seen through the inside of the main box and I want the blue box only visible through the hole of the main box but the red box still visible cause it's not an inside object of the main box.
Hope everything's clear, it's kind of a concept here.
Thanks for your help,