Skip to content

Fix terrain needle artifacts in Firefox strict/private mode via fetch() + canvas-free PNG decoding - #100

Draft
tentone with Copilot wants to merge 4 commits into
masterfrom
copilot/fix-height-map-rendering
Draft

Fix terrain needle artifacts in Firefox strict/private mode via fetch() + canvas-free PNG decoding#100
tentone with Copilot wants to merge 4 commits into
masterfrom
copilot/fix-height-map-rendering

Conversation

Copilot AI commented Apr 2, 2026

Copy link
Copy Markdown
  • Delete source/utils/PNGDecoder.ts
  • Remove PNGDecoder export from source/Main.ts
  • MapHeightNode – replace PNGDecoder.decode()/scaleImageData() with createImageBitmap(blob) + canvas
  • MapHeightNodeShader – replace PNGDecoder.decode()/DataTexture with createImageBitmap(blob)Texture
  • MapMartiniHeightNode – removed processImageData(), updated processHeight() to accept HTMLImageElement | ImageBitmap, updated loadHeightGeometry() to use createImageBitmap(blob)
  • Build passes, lint clean (only pre-existing unrelated error)

@changeset-bot

changeset-bot Bot commented Apr 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 137ae87

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI and others added 2 commits April 2, 2026 20:28
Copilot AI changed the title [WIP] Fix height map rendering in Firefox with Enhanced Tracking Protection Fix terrain needle artifacts in Firefox strict/private mode via fetch() + canvas-free PNG decoding Apr 2, 2026
Copilot AI requested a review from tentone April 2, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants