Bug with WebGPU rendering some .SPZ files

I am seeing some issues between how WebGL and WebGPU display some .spz files.

This one specifically is from postshot and converted to a .spz using spz-js library.

Looks great in WebGL - https://playground.babylonjs.com/#KUHXDT#8

Looks bad with same code WebGPU - https://playground.babylonjs.com/#KUHXDT#7

This is testing on Macbook Chrome, will test other devices shortly.

**Turn the camera to the left

Edit - same issues on pixel 8 pro chrome, issues not present with the spz of the silver lizard here - Babylon.js Playground

cc @Cedric. I can repro on my Nvidia RTX3080:

WebGL:

WebGPU:

I don’t know if it’s because the latest PR isn’t online yet?

I can repro as well. I’ll take a look shortly!

1 Like

Thanks! Let me know if I can help in any way.