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/ImageEffect.cginc | |
parent | 76745de7a04e46d18319c734067fa49641370014 (diff) |
*misc
Diffstat (limited to 'Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc')
-rw-r--r-- | Assets/Bundle/Shaders/Common/Image/ImageEffect.cginc | 18 |
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; |