immersive-web / immersive-web/webxr-webgpu-binding
Allow depth direction preference option.
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 87
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
In WebGPU it is possible to format your depth buffer in reverse Z for an improvement of depth fidelity.
Many WebGL experiences today use forward-z. For Safari on VisionOS we need to convert forward-z buffers to reverse-z for os compatibility which is expensive.
It would be good for the Session to be able to indicate to Websites that the session prefers reverse Z and for the Website to indicate that it has indeed provided reverse-Z. This would allow an additional performance improvement for WebGPU experiences.
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
No file or test is named. Start by reviewing the WebXR WebGPU binding’s session and website-facing API surfaces, then determine how a reverse-Z preference and confirmation should be represented. Done means an agreed design addresses both sides and the Safari on VisionOS conversion case.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100