Skip to content

Commit 3d29728

Browse files
committed
Include webxr layers polyfill.
TODO: Verify that this is a good place to link it to, or include it directly. Now the web version works immersively, but no controllers.
1 parent 7cd6a13 commit 3d29728

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

export_presets.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ vram_texture_compression/for_desktop=true
9696
vram_texture_compression/for_mobile=false
9797
html/export_icon=true
9898
html/custom_html_shell=""
99-
html/head_include=""
99+
html/head_include="<script src=\"https://cdn.jsdelivr.net/npm/webxr-layers-polyfill@latest/build/webxr-layers-polyfill.min.js\"></script>
100+
<script>var layersPolyfill = new WebXRLayersPolyfill();</script>"
100101
html/canvas_resize_policy=2
101102
html/focus_canvas_on_start=true
102103
html/experimental_virtual_keyboard=false

0 commit comments

Comments
 (0)