summaryrefslogtreecommitdiffstats
path: root/TaSTT_Backplate.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-11-25 12:27:42 -0800
committeryum <yum.food.vr@gmail.com>2022-11-25 12:30:29 -0800
commita9e22d486432295c0185d317f5064cd1bc9c1738 (patch)
tree20142b207e5dba8c1eae01b7b49265f0ec872b1c /TaSTT_Backplate.shader
parentae9ac5ba5942447f47d8d996d2d340381e730c33 (diff)
Code cleanup
Reorganize locations, remove a couple unused parameters.
Diffstat (limited to 'TaSTT_Backplate.shader')
-rw-r--r--TaSTT_Backplate.shader59
1 files changed, 0 insertions, 59 deletions
diff --git a/TaSTT_Backplate.shader b/TaSTT_Backplate.shader
deleted file mode 100644
index 2ab032a..0000000
--- a/TaSTT_Backplate.shader
+++ /dev/null
@@ -1,59 +0,0 @@
-Shader "Unlit/TaSTT_Backplate"
-{
- Properties
- {
- _MainTex ("Texture", 2D) = "black" {}
- }
- SubShader
- {
- Tags { "RenderType"="Opaque" "Queue"="AlphaTest-1"}
- LOD 100
-
- Pass
- {
- Blend SrcAlpha OneMinusSrcAlpha
- Cull Off
-
- CGPROGRAM
- #pragma vertex vert
- #pragma fragment frag
- #pragma multi_compile
-
- #include "UnityCG.cginc"
-
- struct appdata
- {
- float4 vertex : POSITION;
- float2 uv : TEXCOORD0;
- float3 normal : NORMAL;
- };
-
- struct v2f
- {
- float2 uv : TEXCOORD0;
- float4 vertex : SV_POSITION;
- };
-
- Texture2D _MainTex;
- SamplerState sampler_linear_repeat;
- float4 _MainTex_ST;
-
- v2f vert (appdata v)
- {
- v2f o;
- o.vertex = UnityObjectToClipPos(v.vertex);
- o.uv = 1.0 - v.uv;
- return o;
- }
-
- fixed4 frag (v2f i) : SV_Target
- {
-
- fixed4 result = _MainTex.Sample(sampler_linear_repeat, i.uv);
- result.a = 1.0;
- return result;
- }
- ENDCG
- }
- }
-}