playcanvas / playcanvas/engine

WebXR refractions incorrect.

Open
#5,231 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: graphics area: xr
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

Seems like refractions are buggy in WebXR. Haven't tested in Oculus Quest 2 yet. Will provide info when tested.

Description
  • Firefox WebXR extension stereoscopic effect is used.
  • Refractions seem to takes full part of canvas's color grab pass.
Issues
  1. numbered corner should not be there.
  2. controller boxs are should not be seen in that angle.
Screenshot

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Start by reproducing the refraction artifact with the Firefox WebXR extension and the stereoscopic effect, then compare the canvas color grab pass from the reported angle. Done means the numbered corner and controller boxes no longer appear incorrectly in the refraction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ar-vr-xr, computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.