Fix ocean fog

This commit is contained in:
Nick 2024-03-12 00:43:46 -04:00
parent 0036028404
commit c21fd90834

View File

@ -135,7 +135,8 @@ namespace NewHorizons.Builder.Body
var fogGO = Object.Instantiate(_oceanFog, waterGO.transform);
fogGO.name = "OceanFog";
fogGO.transform.localPosition = Vector3.zero;
fogGO.transform.localScale = Vector3.one;
// In base game GD ocean fog is 550 while the water volume is 500
fogGO.transform.localScale = Vector3.one * 550f / 500f;
fogGO.SetActive(true);
if (module.tint != null)