像素化

This commit is contained in:
SoulliesOfficial
2025-06-30 09:25:29 -04:00
parent f31d77197b
commit e91f378989
19 changed files with 16279 additions and 17232 deletions

View File

@@ -10,6 +10,19 @@ namespace Ichni
/// </summary>
public static class CustomCurvePresets
{
/// <summary>
/// 瞬间完成
/// </summary>
/// <returns></returns>
public static AnimationCurve Instant()
{
Keyframe[] keys = new Keyframe[2];
keys[0] = new Keyframe(0, 1, 0, 0);
keys[1] = new Keyframe(1, 1, 0, 0);
return new AnimationCurve(keys);
}
/// <summary>
/// 抛物线曲线,在中间达到最大值,两端为起始值
/// </summary>

View File

@@ -138,6 +138,7 @@ namespace Ichni.RhythmGame
{ "Vignette", new VignetteEffect(1, 1, 0.4f, Color.black, CustomCurvePresets.Parabolic(1, 0, 1)) },
{ "SetInteger", new SetIntegerEffect("New Variable", 0, false, 0, 1) },
{ "EnableControl", new EnableControlEffect(null, "New Variable", 0, false, "") },
{"Pixelate", new PixelateEffect(1, 320, 180, CustomCurvePresets.Instant())},
{ "LowPassFilter", new LowPassFilterEffect(1, 10, CustomCurvePresets.Parabolic(1, 0, 1)) },
{ "HighPassFilter", new HighPassFilterEffect(1, 22000, CustomCurvePresets.Parabolic(1, 0, 1)) },
{ "DTM_RippleEffect", new DTMRippleEffect(0.65f, Color.white, 0) }