mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge pull request #259 from xen-42/bramble-fog-alpha-fix
Ignore bramble fog alpha
This commit is contained in:
commit
826dac84f3
@ -177,6 +177,7 @@ namespace NewHorizons.Builder.Body
|
||||
if (config.fogTint != null)
|
||||
{
|
||||
var color = config.fogTint.ToColor();
|
||||
color.a = 1f;
|
||||
fog.fogTint = color;
|
||||
outerFogWarpVolume._fogColor = color;
|
||||
}
|
||||
|
||||
@ -255,6 +255,7 @@ namespace NewHorizons.Builder.Props
|
||||
Color fogTint, farFogTint, fogLightTint, lightTint, lightShaftTint, glowTint, fogOverrideTint;
|
||||
|
||||
farFogTint = config.fogTint != null ? config.fogTint.ToColor() : new Color(1f, 0.9608f, 0.851f, 1f);
|
||||
farFogTint.a = 1f;
|
||||
lightTint = config.lightTint != null ? config.lightTint.ToColor() : Color.white;
|
||||
|
||||
Color.RGBToHSV(farFogTint, out var fogH, out var fogS, out var fogV);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user