mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Foglight tweaks
This commit is contained in:
parent
e009580cbf
commit
e2f7d8a05b
@ -250,12 +250,13 @@ namespace NewHorizons.Builder.Props
|
||||
brambleNode.FindChild("Prefab_SeedPunctureVolume (2)").GetComponent<CompoundShape>().enabled = true;
|
||||
fogLight._maxVisibleDistance = float.PositiveInfinity; // Prefab does have working foglight aside from this
|
||||
fogLight._minVisibleDistance *= config.scale / 15f;
|
||||
fogLight._occlusionRange = 175f;
|
||||
}
|
||||
else
|
||||
{
|
||||
brambleNode.FindChild("Effects/PointLight_DB_FogLight").GetComponent<Light>().range *= config.scale;
|
||||
brambleNode.FindChild("Effects/FogOverrideVolume").GetComponent<FogOverrideVolume>().blendDistance *= config.scale;
|
||||
fogLight._minVisibleDistance *= config.scale;
|
||||
//fogLight._minVisibleDistance *= config.scale;
|
||||
|
||||
// Seed fog works differently, so it doesn't need to be fixed
|
||||
// (it's also located on a different child path, so the below FindChild calls wouldn't work)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user