immersive-web / immersive-web/lighting-estimation

Consider adding ability to generate a low resolution HDR cube map from SH

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bikeshed
Stars
40
Forks
11
Avg merge
1d 6h
Merged PRs (30d)
1

Description

Based on feedback from @elalish in the initial PR:

If we don't get permissions, can we still return a low-res version created from the output of XRLightProbe? That way we don't force anyone to implement spherical harmonics and directional lights if they just do IBL.

I would like to hear feedback from other UA vendors to see if they would also consider implementing a convenience function for generating low resolution HDR cube maps from the SH coefficients.

As there is computation involved and some renderers may be optimized for using SH coefficients directly, these HDR cube maps should not be calculated unless requested. Perhaps this could also be subscription based.

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

Start by reviewing the initial PR feedback and the XRLightProbe output described in the issue. Seek feedback from UA vendors on whether a convenience function or subscription-based generation is appropriate, then define the requested API behavior and when low-resolution HDR cube maps should be calculated.

Written by the indexing model from the issue text.

Assessment

Tech stack
ar-vr-xr
Domain
api, ar-vr-xr
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.