We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b1c25f commit 2907954Copy full SHA for 2907954
src/render/painter.js
@@ -181,7 +181,7 @@ class Painter {
181
182
_updateFog(style: Style) {
183
const fog = style.fog;
184
- if (!fog || (fog && fog.getOpacity(this.transform.pitch) !== 1.0)) {
+ if (!fog || fog.getOpacity(this.transform.pitch) < 1 || fog.properties.get('horizon-blend') < 0.03) {
185
this.transform.fogCullDistSq = null;
186
return;
187
}
0 commit comments