GPU优化

This commit is contained in:
SoulliesOfficial
2026-04-06 09:32:56 -04:00
parent 1bc9af280b
commit f4068baf4a
108 changed files with 2813 additions and 1073 deletions

View File

@@ -14,6 +14,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
public float timeAngle = 0.1f;
public float stepA = 0.25f;
public float stepB = 0.24f;
public float baseSpeed = 0.2f;
public bool enableOuterBorder = true;
public float outerBorderColorR = 1f;
@@ -32,7 +33,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
public DTMRandomGridFloor_BM(string elementName, Guid elementGuid, List<string> tags, GameElement_BM attachedElement,
string themeBundleName, string objectName, bool isStatic,
float patternSizeX, float patternSizeY, float gridDensity,
float timeAngle, float stepA, float stepB,
float timeAngle, float stepA, float stepB, float baseSpeed,
bool enableOuterBorder, Color outerColor, float outerBorderWidth,
float fadeFar = 100f, float fadeNear = 20f)
: base(elementName, elementGuid, tags, attachedElement, themeBundleName, objectName, isStatic)
@@ -43,7 +44,8 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
this.timeAngle = timeAngle;
this.stepA = stepA;
this.stepB = stepB;
this.baseSpeed = baseSpeed;
this.enableOuterBorder = enableOuterBorder;
this.outerBorderColorR = outerColor.r;
this.outerBorderColorG = outerColor.g;
@@ -62,7 +64,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
matchedElement = DTMRandomGridFloor.GenerateElement(elementName, elementGuid, tags, false,
themeBundleName, objectName, GetElement(attachedElementGuid), isStatic,
patternSizeX, patternSizeY, gridDensity,
timeAngle, stepA, stepB,
timeAngle, stepA, stepB, baseSpeed,
enableOuterBorder, outerColor, outerBorderWidth,
fadeFar, fadeNear);
}

View File

@@ -13,8 +13,9 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
public float gridDensity = 1.0f;
public float timeAngle = 1.0f;
public float stepA = 0.293f;
public float stepB = 0.345f;
public float stepA = 0.25f;
public float stepB = 0.24f;
public float baseSpeed = 0.2f;
public float seamRotation = -90f;
public float seamFadeWidth = 0.2f;
@@ -29,7 +30,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
matchedElement = DTMRandomGridTube.GenerateElement(elementName, elementGuid, tags, false,
themeBundleName, objectName, GetElement(attachedElementGuid), isStatic,
patternSizeX, patternSizeY, gridDensity, timeAngle,
stepA, stepB,
stepA, stepB, baseSpeed,
seamRotation, seamFadeWidth, seamFadeSmoothness,
fadeFar, fadeNear, tubeRadius);
}