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); }