diff options
author | chai <chaifix@163.com> | 2020-10-23 13:08:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-23 13:08:43 +0800 |
commit | b82da95b5181ac8bbae38efb13e950d5e88a4caa (patch) | |
tree | 48a6f3269276484bbc7cfc95f0651f40a2176aa1 /Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ClampOpNode.shader | |
parent | 917e9e0b320775634dc2e710f7deac74fd0822f0 (diff) |
*移动amplify shader editor到third party目录
Diffstat (limited to 'Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ClampOpNode.shader')
-rw-r--r-- | Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ClampOpNode.shader | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ClampOpNode.shader b/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ClampOpNode.shader deleted file mode 100644 index df9318ec..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ClampOpNode.shader +++ /dev/null @@ -1,33 +0,0 @@ -Shader "Hidden/ClampOpNode" -{ - Properties - { - _A ("_Value", 2D) = "white" {} - _B ("_Min", 2D) = "white" {} - _C ("_Max", 2D) = "white" {} - } - SubShader - { - Pass - { - CGPROGRAM - #include "UnityCG.cginc" - #pragma vertex vert_img - #pragma fragment frag - - sampler2D _A; - sampler2D _B; - sampler2D _C; - - float4 frag(v2f_img i) : SV_Target - { - float4 value = tex2D( _A, i.uv ); - float4 min = tex2D( _B, i.uv ); - float4 max = tex2D( _C, i.uv ); - - return clamp(value, min, max); - } - ENDCG - } - } -} |