More #WebGPU + #WebXR tourism in Apple Vision Pro M5: this time the Sponza clustered lighting demo by @tojiro with added eye-tracking-based teleport & interaction

It's funny that 12 real-time lights feels like an absurd futurist luxury as an XR dev. But this is a budget I can actually manage, compared with the paltry 1-3 you can squeeze out of XR2 series headsets

https://jameskane05.github.io/webgpu-clustered-shading/

This is still pure WebGPU browser API, which has been instructive. That said, @cabanier at Meta started a three.js branch to add WebGPU + WebXR bindings that I hope to test soon - their library of samples would speed up prototyping greatly.

Rik's WIP three.js branch here: https://github.com/cabanier/three.js/tree/webgpu_webxr

GitHub - cabanier/three.js at webgpu_webxr

JavaScript 3D Library. Contribute to cabanier/three.js development by creating an account on GitHub.

GitHub