Skip to content

Fix dof and background motion vectors on webgpu#23629

Open
beicause wants to merge 1 commit intobevyengine:mainfrom
beicause:webgpu-dof-and-background-motion-vectors
Open

Fix dof and background motion vectors on webgpu#23629
beicause wants to merge 1 commit intobevyengine:mainfrom
beicause:webgpu-dof-and-background-motion-vectors

Conversation

@beicause
Copy link
Copy Markdown
Contributor

@beicause beicause commented Apr 3, 2026

Objective

WebGPU-only fix extracted from #22554 and #22555. Fixes #20459

Solution

Fix normal + motion vector prepass by setting write mask to empty. This is a firefox/wgpu bug that it's not validated gfx-rs/wgpu#9147, but chromium does.

Fix dof with bokeh mode. I guess it's naga_oil bug but I'm not sure.

Testing

I tested dof and skybox examples on web.

@beicause beicause force-pushed the webgpu-dof-and-background-motion-vectors branch from 3defd77 to 1d747f3 Compare April 3, 2026 01:27
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen O-WebGPU Specific to the WebGPU render API S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 3, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Rendering Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-WebGPU Specific to the WebGPU render API S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

The combination of Skybox + MotionVectorPrepass + NormalPrepass is broken on WebGPU

2 participants