Forum Discussion

koujaku's avatar
koujaku
Former Employee
Nov 12, 2020

sk_gpu.h WebXR Demo

 

Up until recently, I thought doing WebXR from C++ wouldn't work without a fair bit of effort, but I just discovered a nice chunk of code that helped me work through it! I had sk_gpu.h building to WASM with Emscripten before, so it didn't take too much more to get WebXR in there too 🙂

Here's the demo online!

 

It's nothing too fancy, this is my test scene that lets me check on the most important features, but I'm quite excited that it works! At some point I'll be sure to ship a demo that's fun to play with too, but this also means I'm another step closer to getting all of StereoKit running on web too!

Resources