Provide an option to toggle `preserveDrawingBuffer` to true
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Currently the default to preserveDrawingBuffer is false when setting up THREE.WebGLRenderer. Can we provide users with an option to set this to true to allow them to mirror their scene on the desktop after entering VR?
A similar issue was discussed in issue 926. According to this thread however, re-initializing the renderer did not succeed for the user unless they modified this parameter directly in aframe.js.
This issue was prompted by the following tweet.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the THREE.WebGLRenderer setup in aframe.js and the related discussion in issue 926. Trace how renderer options are configured, then verify that an exposed option can set preserveDrawingBuffer to true and supports mirroring the scene after entering VR.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, three.js
- Domain
- ar-vr-xr
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100