- Home /
Question by
SpiralConDave · May 27, 2015 at 11:07 PM ·
shaderreflectionmirror
Why is mirror reflection offset?
I'm trying to use this mirror shader at http://wiki.unity3d.com/index.php/MirrorReflection4
It looks pretty good, but the actual render of the reflection is offset from where it should be. That is, if I put a mirrored surface on the floor, and put an object, like a cube, right on top of it, the reflection should touch the bottom of the cube. It's not. I have to lift the cube up a few centimeters to start to see the reflection. I'm not a shader programmer, but I don't see anything in that shader that looks like 'offset' so I can't imagine why this would happen, let alone how to fix it. OTOH are there any good mirror shaders out there?
Comment