KhronosGroup / KhronosGroup/WebGL

Query Seamless Cubemap Support for WebGL1

Open
#1,528 17 comments 0 reactions 1 assignee View on GitHub

@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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.