From c7a4f1467a07e8e7d6f107986883655d8c2b68ae Mon Sep 17 00:00:00 2001 From: "ALIENJACK\\alien" Date: Tue, 29 Apr 2025 19:17:40 +0800 Subject: [PATCH] =?UTF-8?q?RLPRO=5FCRT=E6=BB=A4=E9=95=9C=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppSettings/Filter/RLPro/RLPRO_CRT.cs | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/RLPro/RLPRO_CRT.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/RLPro/RLPRO_CRT.cs index 75c07baa..393879d0 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/RLPro/RLPRO_CRT.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppSettings/Filter/RLPro/RLPRO_CRT.cs @@ -32,15 +32,21 @@ namespace AxibugEmuOnline.Client.Filters #endregion #region TV_Effect_Param public FilterParameter WrapMode = EnumWrapMode.SimpleWrap; + [Range(0f, 2f)] public FloatParameter maskDark = 0.5f; + [Range(0f, 2f)] public FloatParameter maskLight = 1.5f; + [Range(-8f, -16f)] public FloatParameter hardScan = -8.0f; + [Range(-3f, 1f)] public FloatParameter hardPix = -3.0f; - public Vector2Parameter warp = new Vector2(1.0f / 32.0f, 1.0f / 24.0f); - public Vector2Parameter res; - public FloatParameter resScale; - public FloatParameter scale; - public FloatParameter fade; + public Vector2Parameter warp = new Vector2(0.03125f, 0.04166f); + [Range(1f, 16f)] + public FloatParameter resScale = 4f; + [Range(0.5f, 5f)] + public FloatParameter scale = 1f; + [Range(0f, 1f)] + public FloatParameter fade = 1f; #endregion Material m_bleedMat; @@ -128,8 +134,8 @@ namespace AxibugEmuOnline.Client.Filters m_tvEffectMat.SetFloat("maskDark", maskDark.GetValue()); m_tvEffectMat.SetFloat("maskLight", maskLight.GetValue()); m_tvEffectMat.SetFloat("hardScan", hardScan.GetValue()); + m_tvEffectMat.SetFloat("hardPix", hardPix.GetValue()); m_tvEffectMat.SetVector("warp", warp.GetValue()); - m_tvEffectMat.SetVector("res", res.GetValue()); m_tvEffectMat.SetFloat("resScale", resScale.GetValue()); m_tvEffectMat.SetFloat("scale", scale.GetValue()); m_tvEffectMat.SetFloat("fade", fade.GetValue());