playcanvas / playcanvas/engine
WebXR AR - Opacity Blending
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
There is some issue with the way opacity is blended when using WebXR AR session. This happens in the emulator and on devices (Android, Quest 3, etc).
It looks like alpha is not accumulated, but the last rendered fragment alpha is written.
Camera clear color is 0,0,0,0. Body CSS background color is 0,0,0,0. Canvas background color is 0,0,0,0.
Test URL: https://playcanv.as/e/b/70c1ec2f
Normal:
In WebXR:
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 reproducing the opacity difference at the linked test URL in the Immersive Web Emulator and on a reported Android or Quest 3 device. Compare the WebXR AR rendering path with the normal path, focusing on the stated alpha accumulation behavior. Done means transparent AR rendering blends correctly across the listed environments; no source file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ar-vr-xr
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100