Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Aug 1, 2024

Fixes #28970 (comment)

Description

When the defining the default placeholder texture for PMREMNode, it's important to set isRenderTargetTexture to true otherwise the uvs for the WebGL backend won't be correct. Generated PMREM textures are always render target textures and rely on the isRenderTargetTexture flag.

@Mugen87 Mugen87 added this to the r168 milestone Aug 1, 2024
@github-actions
Copy link

github-actions bot commented Aug 1, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
684 kB (169.4 kB) 684 kB (169.4 kB) +0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
460.9 kB (111.2 kB) 460.9 kB (111.2 kB) +0 B

@Mugen87 Mugen87 merged commit 1199339 into mrdoob:dev Aug 1, 2024
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.

1 participant