Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
davee's avatar
davee
Honored Guest
11 years ago

PlayCanvas Engine releases Oculus support

Yesterday we released the first version of Oculus and generic HMD support for the PlayCanvas WebGL engine.

The code is up on Github: https://github.com/playcanvas/oculus-vr It's dead simple to attach the scripts to camera in PlayCanvas and it will set up the rendering for Oculus.

Currently requires vr.js to get the HMD data, but I'm looking into the native Firefox and Chrome support.

2 Replies

  • davee's avatar
    davee
    Honored Guest
    Just a quick update on this.

    I've updated the oculus plugin for PlayCanvas so that it now gets the head orientation info from the WebVR interface (instead of using vr.js).

    Still to do:
    - use WebVR post processing effect
    - use head tracking information

    PlayCanvas lib is here: https://github.com/playcanvas/oculus-vr