diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/FilterEffect.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/FilterEffect.cs index f79752ef..d0f194d6 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/FilterEffect.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/FilterEffect.cs @@ -27,8 +27,14 @@ namespace AxibugEmuOnline.Client { RenderScale = new FloatParameter(m_defaultRenderScale); GetEditableFilterParamters(); + + Init(); + } + + protected virtual void Init() + { m_material = new Material(Shader.Find(ShaderName)); - OnInit(m_material); + OnInit(m_material); } protected virtual void OnInit(Material renderMat) { }