Imported ripped world
This commit is contained in:
29
Assets/Shader/FX_MirrorReflection.shader
Normal file
29
Assets/Shader/FX_MirrorReflection.shader
Normal file
@@ -0,0 +1,29 @@
|
||||
Shader "FX/MirrorReflection" {
|
||||
Properties {
|
||||
_MainTex ("Base (RGB)", 2D) = "white" {}
|
||||
[HideInInspector] _ReflectionTex0 ("", 2D) = "white" {}
|
||||
[HideInInspector] _ReflectionTex1 ("", 2D) = "white" {}
|
||||
}
|
||||
//DummyShaderTextExporter
|
||||
SubShader{
|
||||
Tags { "RenderType"="Opaque" }
|
||||
LOD 200
|
||||
CGPROGRAM
|
||||
#pragma surface surf Standard
|
||||
#pragma target 3.0
|
||||
|
||||
sampler2D _MainTex;
|
||||
struct Input
|
||||
{
|
||||
float2 uv_MainTex;
|
||||
};
|
||||
|
||||
void surf(Input IN, inout SurfaceOutputStandard o)
|
||||
{
|
||||
fixed4 c = tex2D(_MainTex, IN.uv_MainTex);
|
||||
o.Albedo = c.rgb;
|
||||
o.Alpha = c.a;
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user