summaryrefslogtreecommitdiff
path: root/Assets/Bundle/Shaders/Common/Image/common_img_blur.shader
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-20 10:23:59 +0800
committerchai <chaifix@163.com>2021-09-20 10:23:59 +0800
commit4551d1d12fc3029fcf553cfdeb10402e42de705d (patch)
tree7c59a8c5a06e9b0f12d669c0b62fd3ef29ead953 /Assets/Bundle/Shaders/Common/Image/common_img_blur.shader
parent02b44c07adfcf921da594120b4cd8fc18b982725 (diff)
*misc
Diffstat (limited to 'Assets/Bundle/Shaders/Common/Image/common_img_blur.shader')
-rw-r--r--Assets/Bundle/Shaders/Common/Image/common_img_blur.shader4
1 files changed, 3 insertions, 1 deletions
diff --git a/Assets/Bundle/Shaders/Common/Image/common_img_blur.shader b/Assets/Bundle/Shaders/Common/Image/common_img_blur.shader
index 2cebb028..c7e3891d 100644
--- a/Assets/Bundle/Shaders/Common/Image/common_img_blur.shader
+++ b/Assets/Bundle/Shaders/Common/Image/common_img_blur.shader
@@ -42,6 +42,8 @@
float _Angle;
+ float4 _ScaleOffset; // 角色的范围
+
fixed _Distance;
v2f vert(appdata v)
@@ -55,7 +57,7 @@
fixed4 frag(v2f i) : SV_Target
{
_Angle = 0;
- _Distance = 0.02f;
+ _Distance = 0.05f;
fixed2 uv = i.uv;
fixed2 offset = fixed2(0.05, 0.05);