diff options
author | chai <chaifix@163.com> | 2021-09-30 18:15:25 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-09-30 18:15:25 +0800 |
commit | 5b19af7f51ad4504fc426b8387442f6b868b5f61 (patch) | |
tree | a90e5829c6d87386cf552ade49609597e93ce8df /Assets/Bundle/Shaders/Common/Image/common_img_buzz.shader | |
parent | 76745de7a04e46d18319c734067fa49641370014 (diff) |
*misc
Diffstat (limited to 'Assets/Bundle/Shaders/Common/Image/common_img_buzz.shader')
-rw-r--r-- | Assets/Bundle/Shaders/Common/Image/common_img_buzz.shader | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/Assets/Bundle/Shaders/Common/Image/common_img_buzz.shader b/Assets/Bundle/Shaders/Common/Image/common_img_buzz.shader index 467733f9..929a57b7 100644 --- a/Assets/Bundle/Shaders/Common/Image/common_img_buzz.shader +++ b/Assets/Bundle/Shaders/Common/Image/common_img_buzz.shader @@ -5,7 +5,7 @@ Shader "Erika/Common/Image/Buzz" Properties { _MainTex("Texture", 2D) = "white" {} - _TileOffset("TileOffset", Vector) = (1,1,0,0) + _UnitTileOffset("TileOffset", Vector) = (1,1,0,0) } SubShader @@ -26,7 +26,8 @@ Shader "Erika/Common/Image/Buzz" #include "UnityCG.cginc" - #include "Assets/Bundle/Shaders/Include/ImageEffect.cginc" + #include "./ImageEffect.cginc" + #include "./ImageHelper.cginc" struct v2f { @@ -34,17 +35,6 @@ Shader "Erika/Common/Image/Buzz" float4 vertex : SV_POSITION; }; - sampler2D _MainTex; - float4 _MainTex_ST; - - sampler2D _CameraDepthTexture; - float4 _CameraDepthTexture_ST; - - sampler2D _UnitDepthTexture; - float4 _UnitDepthTexture_ST; - - float4 _TileOffset; // 角色的范围 - v2f vert(appdata_img v) { v2f o; |