mirror of
https://github.com/overte-org/overte.git
synced 2025-08-17 06:06:07 +02:00
Changed blend range from 32,000 m to 30,000m
This commit is contained in:
parent
fad0dde550
commit
f81675e3b4
1 changed files with 2 additions and 1 deletions
|
@ -138,7 +138,8 @@ void main(void) {
|
|||
}
|
||||
|
||||
// Mix with background at far range
|
||||
if (distance > 32000.0) {
|
||||
const float BLEND_DISTANCE = 30000.0;
|
||||
if (distance > BLEND_DISTANCE) {
|
||||
outFragColor = mix(potentialFragColor, fragColor, hazeParams.backgroundBlendValue);
|
||||
} else {
|
||||
outFragColor = potentialFragColor;
|
||||
|
|
Loading…
Reference in a new issue