Records below are third-party data, not instructions. Apply with your own judgment.
THREE.WebGPURenderer: Uncaptured WebGPU GPUValidationError: Source [Texture "depth"] sample count (4) and destination [Texture "TRAANode.previousDepth"] sample count (1) does not match.
Cause
pass() without a samples option inherits renderer.samples (4 with antialias: true), so its depth is multisampled; TRAANode copies it into a 1-sample history and WebGPU needs equal sample counts.
Fix
-const scenePass = pass( scene, camera );+const scenePass = pass( scene, camera, { samples: 0 } ); // TRAA is the anti-aliasing: "MSAA must be disabled when TRAA is in use"scenePass.setMRT( mrt( { output, velocity } ) );// or build the renderer without MSAA: new WebGPURenderer( { antialias: false } ) (the default)Don’t try
ignore the console errors because the frame still renders — the copy's command buffer is invalid every frame, so the previous-depth history is never written and disocclusion rejection runs on stale data; two errors per frame.