mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Do it for map as well
This commit is contained in:
parent
a94aadb8c8
commit
6b97841e19
@ -389,6 +389,14 @@ namespace NewHorizons
|
|||||||
playerLight.range = 1;
|
playerLight.range = 1;
|
||||||
playerLight.intensity = 0.001f;
|
playerLight.intensity = 0.001f;
|
||||||
|
|
||||||
|
//Do the same for map
|
||||||
|
var solarSystemRoot = SearchUtilities.Find("SolarSystemRoot");
|
||||||
|
var ssrLight = solarSystemRoot.AddComponent<Light>();
|
||||||
|
ssrLight.innerSpotAngle = 0;
|
||||||
|
ssrLight.spotAngle = 179;
|
||||||
|
ssrLight.range = Main.FurthestOrbit * (4f/3f);
|
||||||
|
ssrLight.intensity = 0.001f;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Logger.Log($"Star system finished loading [{Instance.CurrentStarSystem}]");
|
Logger.Log($"Star system finished loading [{Instance.CurrentStarSystem}]");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user