mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
No proxy fog at eye
This commit is contained in:
parent
bc395a6727
commit
2dd8987217
@ -73,6 +73,7 @@ namespace NewHorizons.Builder.Atmosphere
|
||||
fogGO.transform.localScale = Vector3.one * atmo.fogSize;
|
||||
|
||||
var fog = (SearchUtilities.Find("TimberHearth_DistantProxy", false) ?? SearchUtilities.Find("TimberHearth_DistantProxy(Clone)", false))?.FindChild("Atmosphere_TH/FogSphere");
|
||||
if (fog == null) return null;
|
||||
|
||||
MeshFilter MF = fogGO.AddComponent<MeshFilter>();
|
||||
MF.mesh = fog.GetComponent<MeshFilter>().mesh;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user