From 4bf783cd9630e076ed0844e97ac4d05efc9138dc Mon Sep 17 00:00:00 2001 From: "ALIENJACK\\alien" Date: Fri, 27 Dec 2024 13:31:14 +0800 Subject: [PATCH] 123 --- .../Assets/Script/AppMain/Filter/FilterEffect.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Filter/FilterEffect.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Filter/FilterEffect.cs index e159f07b..2b8d9f8c 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Filter/FilterEffect.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Filter/FilterEffect.cs @@ -54,7 +54,7 @@ namespace AxibugEmuOnline.Client public void Render(Texture src, RenderTexture result) { - m_material.SetTexture("_MainTex", src); + m_material.SetVector("_iResolution", new Vector4(result.width, result.height)); OnRenderer(m_material, src, result); }