summaryrefslogtreecommitdiff
path: root/Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc
diff options
context:
space:
mode:
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;