summaryrefslogtreecommitdiff
path: root/Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-30 18:15:25 +0800
committerchai <chaifix@163.com>2021-09-30 18:15:25 +0800
commit5b19af7f51ad4504fc426b8387442f6b868b5f61 (patch)
treea90e5829c6d87386cf552ade49609597e93ce8df /Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc
parent76745de7a04e46d18319c734067fa49641370014 (diff)
*misc
Diffstat (limited to 'Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc')
-rw-r--r--Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc18
1 files changed, 18 insertions, 0 deletions
diff --git a/Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc b/Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc
new file mode 100644
index 00000000..04334ee4
--- /dev/null
+++ b/Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc
@@ -0,0 +1,18 @@
+// UnitLensEffect效果
+
+sampler2D _MainTex;
+float4 _MainTex_ST;
+
+sampler2D _CameraDepthTexture;
+float4 _CameraDepthTexture_ST;
+
+sampler2D _UnitDepthTexture; // 配合_CameraDepthTexture定位角色
+float4 _UnitDepthTexture_ST;
+
+sampler2D _UnitWorldNormalTexture;
+float4 _UnitWorldNormalTexture_ST;
+
+sampler2D _UnitMotionVectorTexture;
+float4 _UnitMotionVectorTexture_ST;
+
+float4 _UnitTileOffset;