Anyone know how one would achieve this?

Does anyone know how one would achieve this? (the 3d object coming out of the phone)

Looks amazing and has a lot of potential.


This seems to be a pretty common scene but you would have a mesh around the phone model that would have a stencil shader (a shader that writes to the z-buffer but is transparent).
This is a reference for Unity but the principles are the same:

Maybe someone with a better knowledge of the node shader graph from Babylon could asssit you with that (I’m also interested in this shader for Babylon).

1 Like

Thanks, you put me in the right direction and I found this:

Which does what I’m looking for by creating a mask.