Merge pull request #11686 from NissimHadar/hazeZone

Reduced haze background blend range to 27,000 metres.
This commit is contained in:
Seth Alves 2017-10-26 08:13:24 -07:00 committed by GitHub
commit 807b4c4ed2

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 {