WebGPU Line2 artifacts when antialias is true

Hello guys,

i am working on an a migration to webgpu at the moment. I have an issue with the Line2. Using WebGPU with active antialias creates artifacts on the caps of the lines:

https://codesandbox.io/p/sandbox/three-js-web-gpu-dispose-forked-w3clqr

If you turn off antialias in the sandbox the artifacts are gone.

So is this a bug? Is it a limitation of webgpu? I really like the MSAA antialias result and would like to use it. SMAA or TAA do not lead to the desired results.

Thanks Chris :slight_smile:

What does happen when renderer antialias is on, but material alphaToCoverage is off?

Hi, thanks a lot for this info. Belive it or not but i was 100% sure i already tried this. i really don’t understand what happend during development.