Do alpha on water

This commit is contained in:
Nick J. Connors 2022-02-08 11:32:31 -05:00
parent f2b2ed0c1e
commit c1b5402f8f

View File

@ -85,7 +85,7 @@ namespace NewHorizons.Builder.Body
if (module.Tint != null) if (module.Tint != null)
{ {
var adjustedColour = module.Tint.ToColor() / 4f; var adjustedColour = module.Tint.ToColor() / 4f;
adjustedColour.a = 1f; adjustedColour.a = adjustedColour.a * 4f;
fogGO.GetComponent<MeshRenderer>().material.color = adjustedColour; fogGO.GetComponent<MeshRenderer>().material.color = adjustedColour;
} }