mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +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
|
||||
const float BLEND_DISTANCE = 30000.0;
|
||||
const float BLEND_DISTANCE = 27000.0;
|
||||
if (distance > BLEND_DISTANCE) {
|
||||
outFragColor = mix(potentialFragColor, fragColor, hazeParams.backgroundBlendValue);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue