Hello! I was wondering how I can transition to using WebGPU sooner (I know it’s in a development stage). I tried following the examples from Three.js, which seemed straightforward: I imported it and changed the renderer. However, it didn’t work as expected and gave me an error saying that WebGPU wasn’t properly declared.
I want to observe its performance because with the examples I’ve seen, GPU usage was reduced by 30-40%, a significant improvement compared to my current setup. Currently, my website runs at 60fps on my GTX 960. However, it utilizes 80%+ of the VRAM on Firefox, and even more on Chrome.
https://ongezell.com/mainwebgpu
I’m currently importing it from
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.154.0/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/three@0.154.0/examples/jsm/"
}
}
Thanks in advance!