Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jul 4, 2024

Reverts #28447

Fixes #28796.

I'm not yet sure why but it seems a call of _this.clear(); is always required even when rendering the background.

@Mugen87 Mugen87 added this to the r167 milestone Jul 4, 2024
@github-actions
Copy link

github-actions bot commented Jul 4, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
683.4 kB (169.2 kB) 683.4 kB (169.2 kB) +1 B

🌳 Bundle size after tree-shaking

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

Filesize dev Filesize PR Diff
460.6 kB (111.1 kB) 460.6 kB (111.1 kB) +1 B

@Mugen87 Mugen87 merged commit 1f389d0 into dev Jul 4, 2024
@Mugen87 Mugen87 deleted the revert-28447-dev78 branch July 4, 2024 10:34
@hybridherbst
Copy link
Contributor

I believe a depth clear might be sufficient (but not entirely sure)

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.

EffectComposer/Transmission: Using scene.background with a texture and having an EffectComposer breaks transmission rendering

3 participants