5
$\begingroup$

I am trying to find ways to hide objects behind specific planes.

"tv" with cube behind it.

That is a "tv" with a cube behind it, I already have it so when you look at it front on, the back disappears.

Back of "tv" gone

However the effect is that of "Non-Euclidean geometry" so the blue cube shouldn't be seen outside of the tv, but if I add another transparent cube/plane and apply the same shader to the cube, its not going to work.

new block off

It is going to block off both the cube and the back of the tv, and now the cube doesn't show head on.

no cube

My question is, is it able to do it based on groups or plane id's? I know the shader is using directly the transparency values. but just not sure how else to do it.

These are the shaders:

Transparent

(Transparent Plane/Cube)

Back of tv

The tv back, and the blue cube (obviously blue color for cube)

Sincerely, Nota

$\endgroup$
2
  • $\begingroup$ Hello :). You want the blue cube to only be visible when seen through the 'TV' object? And be invisible on it's own? $\endgroup$ Mar 7 at 14:37
  • $\begingroup$ Yeah basically :) $\endgroup$
    – Nota
    Mar 7 at 14:41
9
$\begingroup$

I went to recycling this answer and after simplifying I end up with the same node tree, that seems to me is working. So I guess I missed something ... so if you can explain missing part closer.

enter image description here enter image description here

enter image description here

$\endgroup$
2
  • $\begingroup$ Hi yes, that is the effect I'm going for, but I wanted to know if it was possible to expand on that, something like this; i.imgur.com/haDQXeZ.mp4 I did this through rendering twice, and compositing them together in after effects. $\endgroup$
    – Nota
    Mar 9 at 4:13
  • $\begingroup$ @Nota I don't know if it can be done with a shader. I saw some paralax tech using Normals to get illusion of depth, but I would go a compositing way as well (can be done in blender too. $\endgroup$
    – vklidu
    Mar 9 at 16:47

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.