mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Do alpha on water
This commit is contained in:
parent
f2b2ed0c1e
commit
c1b5402f8f
@ -85,7 +85,7 @@ namespace NewHorizons.Builder.Body
|
||||
if (module.Tint != null)
|
||||
{
|
||||
var adjustedColour = module.Tint.ToColor() / 4f;
|
||||
adjustedColour.a = 1f;
|
||||
adjustedColour.a = adjustedColour.a * 4f;
|
||||
|
||||
fogGO.GetComponent<MeshRenderer>().material.color = adjustedColour;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user