同步主题包内容
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Ichni.RhythmGame.Beatmap;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
|
||||
{
|
||||
[System.Serializable]
|
||||
public class DTMStarrySkybox_BM : EnvironmentObject_BM
|
||||
{
|
||||
// --- Sky ---
|
||||
public float skyColorR = 0.1f, skyColorG = 0.0f, skyColorB = 0.3f, skyColorA = 1f;
|
||||
public float horizonR = 0.2f, horizonG = 0.4f, horizonB = 0.8f, horizonA = 1f;
|
||||
public float horizonStrength = 2f;
|
||||
public float horizonSkyHeight = 0.7f;
|
||||
|
||||
// --- Stars ---
|
||||
public bool useStarMap = true;
|
||||
public float starDensity = 30f;
|
||||
public float starSize = 75f;
|
||||
public float starColorR = 1f, starColorG = 1f, starColorB = 1f, starColorA = 1f;
|
||||
public bool preventStarsInFrontOfSun = true;
|
||||
public string starMapTextureName = "None";
|
||||
|
||||
// --- Sun Mask ---
|
||||
public bool haveSun = false;
|
||||
public string sunMaskTextureName = "None";
|
||||
public float sunMaskSize = 0.02f;
|
||||
public float sunMaskSpherize = 13.2f;
|
||||
public float sunDiscSize = 1f;
|
||||
public float sunColorOneR = 0.4f, sunColorOneG = 0.2f, sunColorOneB = 0.6f, sunColorOneA = 1f;
|
||||
public float sunColorTwoR = 0.1f, sunColorTwoG = 0.2f, sunColorTwoB = 0.4f, sunColorTwoA = 1f;
|
||||
public float sunGradientStrength = 3.7f;
|
||||
public float sunGradientHeight = 1.23f;
|
||||
|
||||
// --- Fog ---
|
||||
public float fogHeight = 1f;
|
||||
public float fogPower = 0.5f;
|
||||
public float fogContrast = 40f;
|
||||
|
||||
public DTMStarrySkybox_BM()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ExecuteBM()
|
||||
{
|
||||
matchedElement = DTMStarrySkybox.GenerateElement(
|
||||
elementName, elementGuid, tags, false,
|
||||
themeBundleName, objectName, GetElement(attachedElementGuid), isStatic,
|
||||
// Sky
|
||||
new Color(skyColorR, skyColorG, skyColorB, skyColorA),
|
||||
new Color(horizonR, horizonG, horizonB, horizonA),
|
||||
horizonStrength, horizonSkyHeight,
|
||||
// Stars
|
||||
useStarMap, starDensity, starSize,
|
||||
new Color(starColorR, starColorG, starColorB, starColorA),
|
||||
preventStarsInFrontOfSun, starMapTextureName,
|
||||
// Sun
|
||||
haveSun, sunMaskTextureName,
|
||||
sunMaskSize, sunMaskSpherize, sunDiscSize,
|
||||
new Color(sunColorOneR, sunColorOneG, sunColorOneB, sunColorOneA),
|
||||
new Color(sunColorTwoR, sunColorTwoG, sunColorTwoB, sunColorTwoA),
|
||||
sunGradientStrength, sunGradientHeight,
|
||||
// Fog
|
||||
fogHeight, fogPower, fogContrast);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f8b6a302b0938b24593b2ec43d23d2b0
|
||||
Reference in New Issue
Block a user