- OS: Win11
- Browser Chrome
- Version 147.0.7727.57
When rendering a scene on WebGPU, I am experiencing intermittent ghosting/flickering artifacts on moving objects or during camera movement.
Interestingly, simply creating a ShadowGenerator (even without adding any shadows to meshes) completely eliminates the ghosting. If I comment out the ShadowGenerator creation code, the ghosting reappears.
The ghosting is not consistently reproducible – it happens intermittently under certain conditions (possibly related to browser state, camera angle, or scene complexity).
Reproduction steps
Run the scene on WebGPU backend
Observe moving objects or move the camera – ghosting/flickering appears intermittently
Add the following code (without any additional shadow setup):
const light = LightManager.getDirectionalLight()
const shadowGenerator = new ShadowGenerator(1024, light)
// No shadow casting meshes added, no shadow-related material settings
Ghosting disappears immediately
Comment out the ShadowGenerator creation – ghosting reappears
Expected result
Scene renders correctly without ghosting, regardless of whether ShadowGenerator exists.
Current result
Without ShadowGenerator: Intermittent ghosting/flickering on WebGPU
With ShadowGenerator: Ghosting completely gone
**As a new user, I cannot upload attachments. Could you please provide an email address so I can send you a video of this bug?
**