From 65ed53a40f990e895305ff17a5e48e3cd6b8785b Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 24 Oct 2020 17:30:07 +0800 Subject: =?UTF-8?q?*=E7=89=A9=E7=90=86=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Shaders/ParticleAddHDR.shader | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 Assets/Art/Vfx/GrabSquaresEffect/Shaders/ParticleAddHDR.shader (limited to 'Assets/Art/Vfx/GrabSquaresEffect/Shaders/ParticleAddHDR.shader') diff --git a/Assets/Art/Vfx/GrabSquaresEffect/Shaders/ParticleAddHDR.shader b/Assets/Art/Vfx/GrabSquaresEffect/Shaders/ParticleAddHDR.shader deleted file mode 100644 index c31b7376..00000000 --- a/Assets/Art/Vfx/GrabSquaresEffect/Shaders/ParticleAddHDR.shader +++ /dev/null @@ -1,59 +0,0 @@ -// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' - -Shader "MoveableLineRenderer/AddHDR" { - Properties{ - [HDR]_Color("Color", Color) = (0.5,0.5,0.5,0.5) - _MainTex("Particle Texture", 2D) = "white" {} - } - Category{ - Tags { "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" } - Blend SrcAlpha One - Cull Off Lighting Off ZWrite Off - - SubShader { - Pass { - - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - - #include "UnityCG.cginc" - - fixed4 _Color; - sampler2D _MainTex; - - struct appdata_t { - float4 position : POSITION; - fixed4 color : COLOR; - float2 texcoord : TEXCOORD0; - }; - - struct v2f { - float4 position : SV_POSITION; - fixed4 color : COLOR; - float2 texcoord : TEXCOORD0; - }; - - float4 _MainTex_ST; - - v2f vert(appdata_t v) - { - v2f o; - o.position = UnityObjectToClipPos(v.position); - o.color = v.color; - o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex); - return o; - } - - float4 frag(v2f i) : SV_Target - { - float4 mainTex = tex2D(_MainTex, i.texcoord); - float4 color = 2.0f * i.color * mainTex * _Color; - color.a = saturate(color.a); - return color; - } - ENDCG - } - } - } -} -- cgit v1.1-26-g67d0