Skip to content

Conversation

@3dpk-interactive
Copy link
Collaborator

setting the cameras matrixAutoUpdate and matrixWorldAutoUpdate to true in canvas-portal.tsx enables object matrices in the overlay layer to be computed correctly, allowing compatibility with three.js version 166 and above.

Note: this has not yet been backward compatibility tested for use with three.js r165

setting the cameras `matrixAutoUpdate` and ` matrixWorldAutoUpdate` to `true` in `canvas-portal.tsx` enables object matrices in the `overlay` layer to be computed correctly, allowing compatibility with three.js version 166 and above.

*Note:* this has not yet been backward compatibility tested for use with three.js r165
@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 2c94116

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
react-three-map Patch

Not sure what this means? Click here to learn what changesets are.

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

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 12, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 735e59c:

Sandbox Source
example-mapbox Configuration
example-maplibre Configuration
stories Configuration

RodrigoHamuy
RodrigoHamuy previously approved these changes Mar 18, 2025
@RodrigoHamuy
Copy link
Owner

Haven't had a chance to test, but let's give it a go, will release under @next tag soon.

@RodrigoHamuy RodrigoHamuy linked an issue Mar 18, 2025 that may be closed by this pull request
@RodrigoHamuy RodrigoHamuy enabled auto-merge (squash) March 18, 2025 16:47
@RodrigoHamuy RodrigoHamuy disabled auto-merge March 18, 2025 16:51
@RodrigoHamuy RodrigoHamuy merged commit 987d5c7 into main Mar 18, 2025
2 checks passed
@RodrigoHamuy RodrigoHamuy deleted the Overlay-Fix-matrixAutoUpdate branch March 18, 2025 16:52
@forerunrun
Copy link

Excellent! thanks @RodrigoHamuy there's some significant visual improvements using the latest three.js!

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.

Updating THREE.js breaks "overlay" transforms

4 participants