This commit is contained in:
Noah Pilarski 2022-07-14 20:24:24 -04:00
parent a3501190ae
commit 164c7417fd

View File

@ -46,7 +46,6 @@ namespace NewHorizons.Builder.Body
sunAtmosphere.transform.localScale = Vector3.one * OuterRadiusRatio;
sunAtmosphere.name = "Atmosphere_Star";
var fog = sunAtmosphere.transform.Find("FogSphere").GetComponent<PlanetaryFogController>();
var fogFar = fog.fogImpostor.material;
if (starModule.tint != null)
{
fog.fogTint = starModule.tint.ToColor();