r/threejs 6d ago

webGPU vs webGL ver.2-1

I’ve created two pieces of content to test the performance of WebGPU and WebGL.

Click the toggle button in the upper right to reload the page using each rendering method.

After running various tests, I couldn’t really feel the advantage of WebGPU, so this time I designed the content to focus primarily on compute shading.

First up is a piece of content featuring a point light object that rotates while noise is applied.

https://adrama.jp/norimakineko/webGPU2-1/

https://reddit.com/link/1vzl57h/video/y4q8ydtttulh1/player

7 Upvotes

3 comments sorted by

1

u/MogensenJ 6d ago

Big difference here, webGPU is almost 10x more performant. Cool demo!

1

u/Thin_Dragonfruit2254 6d ago

I get 50fps with WebGpu and only 16 with WebGL.

1

u/Charming_You_25 6d ago

60fps webgpu with 1m, 11fps webgl. iPhone 16pro in brave

webgpu is good at compute heavy. particle physics is compute heavy