immersive-web / immersive-web/lighting-estimation
Consider exposing the XRReflectionProbe off the XRSession object
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 40
- Forks
- 11
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 1
Description
As the XRReflectionProbe's cube map can likely be used for multiple frames and is not updated every frame, perhaps it should be exposed on the XRSession object rather than XRFrame. It should also have an event to indicate when a new cube map is available.
The WebGL rendering engine could then interpolate between the last and new cube map when a new one is available.
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 reading the lighting-estimation proposal around XRReflectionProbe, XRSession, and XRFrame. Review how the WebGL rendering engine is expected to consume the cube map and determine the required API placement and event behavior. Done means the proposal has a decided, documented design for exposing updates and handling the map across frames.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100