I’ve been exploring WebGPURenderer and I’m currently working on object picking within the scene.
In previous WebGLRenderer, due to readPixel
is sync, which may cause IO block type performance issue, choosing raycasting is usually a better way.
In WebGPU, is reading pixels turns to async? If true, maybe reading pixels is a better way for picking objects? However, I’m not 100 percent sure, and there is no examples or demonstrations now. Is this feature WIP?
Any advice or insights would be greatly appreciated!