mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
comment
This commit is contained in:
parent
20b87db3a7
commit
745a776182
@ -47,6 +47,7 @@ namespace NewHorizons.Builder.Body
|
||||
|
||||
TSR.sharedMaterials = tempArray;
|
||||
|
||||
// stuff is black without this crap
|
||||
OceanEffectController OEC = waterGO.AddComponent<OceanEffectController>();
|
||||
OEC._sector = sector;
|
||||
OEC._ocean = TSR;
|
||||
@ -54,7 +55,7 @@ namespace NewHorizons.Builder.Body
|
||||
var GDOLC = GDTSR.GetComponent<OceanLODController>();
|
||||
var OLC = waterGO.AddComponent<OceanLODController>();
|
||||
OLC._sector = sector;
|
||||
OLC._ambientLight = GDOLC._ambientLight;
|
||||
OLC._ambientLight = GDOLC._ambientLight; // this needs to be set or else is black
|
||||
|
||||
// trigger sector enter
|
||||
Main.Instance.ModHelper.Events.Unity.FireOnNextUpdate(() =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user