Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jul 16, 2024

Related issue: -

Description

The input node of DotScreenNode might not be a TextureNode so it is not safe to use the map reference to extract the dimensions of the post processing. This is now done via the renderer which should always work.

I've seen this approach in #28863, btw^^ (thanks @sunag).

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

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
683.5 kB (169.2 kB) 683.5 kB (169.2 kB) +0 B

🌳 Bundle size after tree-shaking

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

Filesize dev Filesize PR Diff
460.7 kB (111.1 kB) 460.7 kB (111.1 kB) +0 B

@Mugen87 Mugen87 merged commit 267e76c into mrdoob:dev Jul 16, 2024
@sunag
Copy link
Collaborator

sunag commented Jul 16, 2024

Thanks @Mugen87, I'm really excited to see how much incredible progress you've made in WebGPU recently.

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jul 16, 2024

I have to say working with the new material system is just awesome and fun!

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