mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:35:04 +02:00
Merge pull request #11686 from NissimHadar/hazeZone
Reduced haze background blend range to 27,000 metres.
This commit is contained in:
commit
807b4c4ed2
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void main(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mix with background at far range
|
// Mix with background at far range
|
||||||
const float BLEND_DISTANCE = 30000.0;
|
const float BLEND_DISTANCE = 27000.0;
|
||||||
if (distance > BLEND_DISTANCE) {
|
if (distance > BLEND_DISTANCE) {
|
||||||
outFragColor = mix(potentialFragColor, fragColor, hazeParams.backgroundBlendValue);
|
outFragColor = mix(potentialFragColor, fragColor, hazeParams.backgroundBlendValue);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue