three-gpu-pathtracer icon indicating copy to clipboard operation
three-gpu-pathtracer copied to clipboard

WebGPU support

Open georgy95 opened this issue 1 year ago • 1 comments

Chrome team is shipping WebGPU support in 113 release.

I'm curious to find out about your plans on WebGPU and if this release has any significant impact on the project. Is three-gpu-pathtracer compatible with the WebGPURenderer as is?

Three.js currently has limited support for WebGPURenderer.

georgy95 avatar Apr 08 '23 09:04 georgy95

Hello! WebGPU is still very new and while I haven't used it yet I'm not sure if the three.js WebGPURenderer is considered stable. Once the ecosystem has matured a bit more an upgrade to WebGPU would be good for the project - I'm hoping it should provide some improvements especially with the ability to move rendering into a computer shader.

If you're interested in contributing some work or experimenting on this it would be greatly appreciated. The raycasting logic in three-mesh-bvh would be the place to start.

gkjohnson avatar Apr 14 '23 11:04 gkjohnson