↧
Answer by Gunder
I got it, only modify the shader:Shader "FX/Mirror Reflection" { Properties { _Color ("Main Color", Color) = (1,1,1,1) _ReflectColor ("Reflection Color", Color) = (1,1,1,0.5) _MainTex ("Base (RGB)...
View ArticleAnswer by Kurylo3d.du
your shader doesnt seem to work like the original mirror shader does... I cant get it to reflect anything.
View ArticleAnswer by Wahooney
Same, it seems only my sky colour gets reflected.Edit: I hacked this together from your mirror code and the water code that comes with unity pro, it seems to work well on my side.Shader "FX/Mirror...
View ArticleAnswer by dahooo2
Hello, I would like to pass a matrix 4x4 to my shader from my csharp script. In my shader I put in the CGPROGRAM part : uniform float3x3 _ProjMatrix; And in my script I put : mat.SetMatrix(...
View Article