TwoPointFive icon indicating copy to clipboard operation
TwoPointFive copied to clipboard

WebVR support doesn't work

Open lunarcloud opened this issue 10 years ago • 3 comments

Testing with the Cardboard APK build of chromium webvr

ig.system.setStereoMode(true);
Uncaught TypeError: Cannot read property 'projection' of null
Uncaught (in promise) TypeError: this.hmdDevice.getEyeTranslation is not a function
at Class.tpf.StereoRenderer.tpf.Renderer.extend.enumerateVRDevices
Uncaught TypeError: Failed to execute 'uniformMatrix4fv' on 'WebGLRenderingContext': No function was found that matched the signature provided. 

I'll retry this later with a proper development environment (not baked) - so that you can get line numbers and files (all in StereoRenderer). I will be working to get WebVR support into my game before it releases, and intend to fork, fix, and pull request if you don't get around to it. I tried to get it to work as-is with chrome and firefox webvr builds and a DK2 during a game jam, so it was more of a "if it works, great" situation.

lunarcloud avatar Nov 17 '15 15:11 lunarcloud

https://twitter.com/phoboslab/status/744508131410120704 Hopefully this means you're working on this?

lunarcloud avatar Aug 08 '16 18:08 lunarcloud

I was, yes. I stopped short, because of the sound issue mentioned in the tweet.

I'll try to push my changes so far to this repo sometime this week!

phoboslab avatar Aug 08 '16 20:08 phoboslab

Poke? @phoboslab ?

lunarcloud avatar Jan 19 '17 16:01 lunarcloud