123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
- Shader "Hidden/SimpleClear" {
- Properties {
- _MainTex ("Base (RGB)", 2D) = "white" {}
- }
- SubShader {
- Pass {
- ZTest Always Cull Off ZWrite Off
- Fog { Mode off }
- CGPROGRAM
- #pragma vertex vert
- #pragma fragment frag
- #pragma fragmentoption ARB_precision_hint_fastest
- #include "UnityCG.cginc"
- uniform sampler2D _MainTex;
- uniform float4 _MainTex_TexelSize;
-
- struct v2f {
- float4 pos : POSITION;
- };
- v2f vert( appdata_img v )
- {
- v2f o;
- o.pos = UnityObjectToClipPos(v.vertex);
- return o;
- }
- half4 frag (v2f i) : COLOR
- {
- return half4(0,0,0,0);
- }
- ENDCG
- }
- }
- Fallback off
- }
|