Does anyone know how one would achieve this? (the 3d object coming out of the phone)
Looks amazing and has a lot of potential.
Cheers
Does anyone know how one would achieve this? (the 3d object coming out of the phone)
Looks amazing and has a lot of potential.
Cheers
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).
Thanks, you put me in the right direction and I found this:
https://www.babylonjs-playground.com/#134UKN#6
Which does what I’m looking for by creating a mask.