msub2 / webxr-showcase

Showcasing example WebXR projects in as many engines/frameworks as possible.
https://msub2.github.io/webxr-showcase/
7 stars 1 forks source link

LOVR hello world is broken #1

Closed msub2 closed 2 years ago

msub2 commented 2 years ago

Looks to be because it's trying to use SharedArrayBuffer. Need to generate some new HTML/JS/WASM with emscripten and see if that fixes it, otherwise go yell at bjorn

msub2 commented 2 years ago

Wasn't the generated files, site needs cross-origin isolation to use SharedArrayBuffer. Managed to use a service worker (coi-serviceworker) that basically captures the requests and sets the appropriate headers on them. Also added zip file with webxr LOVR files