mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Forgor
This commit is contained in:
parent
a3501190ae
commit
164c7417fd
@ -46,7 +46,6 @@ namespace NewHorizons.Builder.Body
|
|||||||
sunAtmosphere.transform.localScale = Vector3.one * OuterRadiusRatio;
|
sunAtmosphere.transform.localScale = Vector3.one * OuterRadiusRatio;
|
||||||
sunAtmosphere.name = "Atmosphere_Star";
|
sunAtmosphere.name = "Atmosphere_Star";
|
||||||
var fog = sunAtmosphere.transform.Find("FogSphere").GetComponent<PlanetaryFogController>();
|
var fog = sunAtmosphere.transform.Find("FogSphere").GetComponent<PlanetaryFogController>();
|
||||||
var fogFar = fog.fogImpostor.material;
|
|
||||||
if (starModule.tint != null)
|
if (starModule.tint != null)
|
||||||
{
|
{
|
||||||
fog.fogTint = starModule.tint.ToColor();
|
fog.fogTint = starModule.tint.ToColor();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user