Last active
December 19, 2015 12:29
-
-
Save sugi-cho/5955525 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "ImageEffect/Base" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
} | |
SubShader { | |
pass{ | |
ZTest Always Cull Off ZWrite Off | |
Fog { Mode off } | |
ColorMask RGB | |
CGPROGRAM | |
#pragma fragmentoption ARB_precision_hint_fastest | |
#pragma vertex vert_img | |
#pragma fragment frag | |
#include "UnityCG.cginc" | |
sampler2D _MainTex; | |
half4 _MainTex_TexelSize; | |
fixed4 frag(v2f_img i) : COLOR{ | |
return tex2D(_MainTex, i.uv); | |
} | |
ENDCG | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment