From b82da95b5181ac8bbae38efb13e950d5e88a4caa Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 23 Oct 2020 13:08:43 +0800 Subject: =?UTF-8?q?*=E7=A7=BB=E5=8A=A8amplify=20shader=20editor=E5=88=B0th?= =?UTF-8?q?ird=20party=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Previews/Preview_TFHCCompareWithRange.shader | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_TFHCCompareWithRange.shader (limited to 'Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_TFHCCompareWithRange.shader') diff --git a/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_TFHCCompareWithRange.shader b/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_TFHCCompareWithRange.shader deleted file mode 100644 index 516727f2..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_TFHCCompareWithRange.shader +++ /dev/null @@ -1,38 +0,0 @@ -Shader "Hidden/TFHCCompareWithRange" -{ - Properties - { - _A ("_Value", 2D) = "white" {} - _B ("_RangeMin", 2D) = "white" {} - _C ("_RangeMax", 2D) = "white" {} - _D ( "_True", 2D ) = "white" {} - _E ( "_False", 2D ) = "white" {} - } - SubShader - { - Pass - { - CGPROGRAM - #include "UnityCG.cginc" - #pragma vertex vert_img - #pragma fragment frag - - sampler2D _A; - sampler2D _B; - sampler2D _C; - sampler2D _D; - sampler2D _E; - - float4 frag(v2f_img i) : SV_Target - { - float4 Value = tex2D( _A, i.uv ).x; - float4 RangeMin = tex2D( _B, i.uv ).x; - float4 RangeMax = tex2D( _C, i.uv ); - float4 True = tex2D ( _D, i.uv ); - float4 False = tex2D ( _E, i.uv ); - return ( ( Value >= RangeMin && Value <= RangeMax ) ? True : False ); - } - ENDCG - } - } -} -- cgit v1.1-26-g67d0