#demo #WebGL #WebGPU #three
https://planpoint-webgpu.vercel.app
Three Example WebGPU Occlusion
https://fixupx.com/Andersonmancini/status/2000589287515959496
https://planpoint-webgpu.vercel.app
Three Example WebGPU Occlusion
Anderson Mancini(@Andersonmancini): 🎵 太阳出来了 ☀️
我终于完成了将我的“终极镜头光晕”移植到 #threejs WebGPU 的工作。性能简直令人难以置信,因为现在 threejs 已经将遮挡查询直接集成到了渲染管线中。如果你需要知道某个物体是否被遮挡,只需直接向 threejs 查询即可。文档中有示例。
这样一来,我就不再需要光线投射器来检测遮挡了,这就是性能大幅提升的原因。
如果您想查看结果: https://planpoint-webgpu.vercel.app
https://fixupx.com/Andersonmancini/status/2000589287515959496