Tunneling in Augmented Reality
A magician never reveals his secrets… most of the time.
Since this post I did on augmented reality I’ve received a ton of requests for how to pull off tunneling and penetration effects in augmented reality. This blog post marks my giving in on trying to keep this effect a secret and I’m giving away a sample of how to pull off tunneling in Unity with depth masking. While this effect is geared towards augmented reality I hope the depth masking technique I used opens the flood gates of creativity for other effects.
Simply import the package below into Unity and take a look at the included prefab. This example will work perfectly with both String and Qualcomm’s augmented reality solutions for Unity.
If you receive an “ImportFBX Warning” just ignore it.
(P.S. switch the Texture Format of the CasketShadow.png file to RGBA 32 bit to improve the appearance of the shadow around the rim of the opening)Download