Hi. I try to use this shader:
http://wiki.unity3d.com/index.php/MirrorReflection3
But i have some trouble. Reflection image just turned upside-down and show objects behind the mirror!
Where the bug? Please help someone!
Hi. I try to use this shader:
http://wiki.unity3d.com/index.php/MirrorReflection3
But i have some trouble. Reflection image just turned upside-down and show objects behind the mirror!
Where the bug? Please help someone!
Try something like that (from “Global Fog” post effect):
#if UNITY_UV_STARTS_AT_TOP
if (_MainTex_TexelSize.y < 0)
o.uv.y = 1-o.uv.y;
#endif