Closed wan-hellopupil closed 6 years ago
(this would also need the following change in the webvr-polyfill to work):
BUFFER_SCALE: this.config.BUFFER_SCALE,
DIRTY_SUBMIT_FRAME_BINDINGS: this.config.DIRTY_SUBMIT_FRAME_BINDINGS,
+ ADDITIONAL_VIEWERS: this.config.ADDITIONAL_VIEWERS,
+ DEFAULT_VIEWER: this.config.DEFAULT_VIEWER,
});
this.polyfillDisplays.push(vrDisplay);
dist/\*
(required)Thanks for sending a PR, @wan-hellopupil! Sorry it's taken me a bit to respond, I'll look over this and do some testing over the next week and get this into WebVR polyfill, this is a great feature that I know a handful of folks interested in. Thank you!
Allows for other viewer parameters to be used. The goal is to then be able to do this:
and have the new viewer present in the list when clicking on the gear icon.