Skip to content

Conversation

aardgoose
Copy link
Contributor

The use of a single QuadMesh for both gaussian blur passes results in a single RenderObject with a SampledTexture binding that alternates between source textures and triggers creation of new BindGroups and BindGroupLayouts every frame.

Using two QuadMesh objects prevents this behaviour.

@sunag sunag added this to the r161 milestone Dec 26, 2023
@Mugen87
Copy link
Collaborator

Mugen87 commented Dec 27, 2023

Not sure why but the E2E tests now complain a diff in webgpu_backdrop_water. I can't see one in the direct comparison though and the example does not even use gaussianBlur 🤔 .

https://rawcdn.githack.com/aardgoose/three.js/gb/examples/webgpu_backdrop_water.html
https://threejs.org/examples/webgpu_backdrop_water.html

@Mugen87
Copy link
Collaborator

Mugen87 commented Dec 27, 2023

It seems #27451 has the same issue. Maybe we exclude webgpu_backdrop_water from E2E tests in the meanwhile?

@sunag
Copy link
Collaborator

sunag commented Dec 27, 2023

It seems #27451 has the same issue. Maybe we exclude webgpu_backdrop_water from E2E tests in the meanwhile?

Agree! This way we can create a separate PR and study this problem more calmly.

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.

3 participants