Skip to content

Terrain artifacts in Firefox due to fingerprinting protection affecting ImageBitmap #97

@tour3d

Description

@tour3d

Image

In Firefox with Enhanced Tracking Protection (especially in Private Browsing or Strict mode), terrain rendering from Mapbox height tiles is broken. The issue appears as severe vertical spikes ("terrain needles") due to noise added by Firefox's fingerprinting protection.

This protection alters pixel values when using or createImageBitmap(), which breaks the decoding of Mapbox Terrain-RGB tiles.

This does not happen in Chrome or in Firefox when using fetch + DataTexture.

Proposed solution:
geo-three should load height maps via fetch() and parse them into DataTexture directly, bypassing the canvas/image path. This avoids fingerprinting noise and restores correct elevation rendering in Firefox.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions