diff --git a/NewHorizons/Builder/Props/BrambleNodeBuilder.cs b/NewHorizons/Builder/Props/BrambleNodeBuilder.cs index c67d2278..8b444d20 100644 --- a/NewHorizons/Builder/Props/BrambleNodeBuilder.cs +++ b/NewHorizons/Builder/Props/BrambleNodeBuilder.cs @@ -268,6 +268,13 @@ namespace NewHorizons.Builder.Props if (config.isSeed) SetSeedColors(brambleNode, config.fogTint?.ToColor(), config.lightTint?.ToColor()); else SetNodeColors(brambleNode, config.fogTint?.ToColor(), config.lightTint?.ToColor()); + innerFogWarpVolume._useFarFogColor = false; + if (config.farFogTint != null) + { + innerFogWarpVolume._useFarFogColor = true; + innerFogWarpVolume._farFogColor = config.farFogTint.ToColor(); + } + // Set up warps innerFogWarpVolume._sector = sector; innerFogWarpVolume._attachedBody = go.GetComponent(); // I don't think this is necessary, it seems to be set correctly on its own @@ -305,7 +312,6 @@ namespace NewHorizons.Builder.Props var fogRenderer = brambleNode.GetComponent(); fogRenderer._fogColor = fogTint.Value; - fogRenderer._useFarFogColor = false; var fogBackdrop = brambleNode.FindChild("Terrain_DB_BrambleSphere_Inner_v2")?.FindChild("fogbackdrop_v2"); if (fogBackdrop != null) fogBackdrop.GetComponent().sharedMaterial.color = (Color)fogTint; diff --git a/NewHorizons/External/Modules/BrambleModule.cs b/NewHorizons/External/Modules/BrambleModule.cs index bfd08d68..f685a7fc 100644 --- a/NewHorizons/External/Modules/BrambleModule.cs +++ b/NewHorizons/External/Modules/BrambleModule.cs @@ -92,6 +92,11 @@ namespace NewHorizons.External.Modules /// public MColor lightTint; + /// + /// The color a dimension's background fog turns when you approach this node (if it's in a dimension). If this node is not in a dimension, this does nothing. Leave blank for the default yellowish white color: (255, 245, 217, 255) + /// + public MColor farFogTint; + /// /// An array of integers from 0-5. By default, all entrances are allowed. To force this node to warp players out from only one hole set this value to [3], [5], or similar. Values of 0-5 only. ///