This page is created automatically. Click here to view this shader on Shadertoy.

This is an experiment to create an "AR shader" by implementing the mainVR-function and using the WebCam texture as background. If you view this shader with the Shadertoy iOS app[1], you can walk around the cube to view it from all sides.

If you don't have an iOS device (or if you don't have the app installed) you can find a screen capture of the shader in action here:

The SDF of this shader is based on the "Menger Sponge" shader by Íñigo Quílez:

Source code

You can find (the full source of) Menger Sponge - iOS AR on Shadertoy.