Reduced haze background blend range to 27,000 metres.

This commit is contained in:
Nissim Hadar 2017-10-25 15:12:01 -07:00
parent b53f1d5027
commit 2ec62ecc9b

View file

@ -138,7 +138,7 @@ void main(void) {
}
// Mix with background at far range
const float BLEND_DISTANCE = 30000.0;
const float BLEND_DISTANCE = 27000.0;
if (distance > BLEND_DISTANCE) {
outFragColor = mix(potentialFragColor, fragColor, hazeParams.backgroundBlendValue);
} else {