Skip to content
ninquiet_

cat ~/projects/mirror-vr.shader

-rw-r--r--  vfx / shaders  2024

Mirror VR

A VR mirror that renders the correct perspective for each eye.

unityvrstereo renderingcameras
Mirror VR preview

This is a mirror done for VR, is specially complex because on VR each of our eyes has a different perspective, so it needs to se something different in the mirror, I had to use a complex system of cameras to calculate the correct implementation of this effect, so the magic of this is more done by code than by shaders

// migrated from the old wordpress portfolio