KhronosGroup / KhronosGroup/WebGL
Query Seamless Cubemap Support for WebGL1
@kdashg is already working on this.
Since Sep 26, 2019.
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 704
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
FireFox Nightly recently introduced seamless cubemaps, and enabled it in a way that works in WebGL1 contexts. It seems like other browsers (Chrome, Edge) intend to match this behaviour, which means this feature might be usable soon in a lot of WebGL1 apps.
This is good news for physically based rendering, since ThreeJS is currently having to work around the cubemap seams by jumping through various hoops (packing LODs and faces into a 2D texture and manually interpolating).
It would be neat if there was a function or reliable way to query/detect for this feature in the WebGL1 contexts, so that ThreeJS and other engines could use an optimized path when possible, e.g. just a single texture fetch with textureCubeLodEXT.
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.
Assessment
This issue has not been assessed yet.