Description
If I create a HexagonLayer with a large colorRange, the following warnings are issued:
- INVALID_VALUE: texSubImage2D: width or height out of range
- GL_INVALID_VALUE: Desired resource size is greater than max texture size.
In addition, all hexagons become black.
These warnings were not issued with deck.gl 9.0.x.
Expected Behavior
Same behavior as in deck.gl 9.0.x, or at least a warning in the documentation of colorRange about large color ranges (and what "large" means).
Steps to Reproduce
Add
colorRange: new Array(2 ** 14 + 1).fill([186, 74, 0, 128]),
to the HexagonLayer example in the documentation.
Environment
- Framework version: 9.1.4
- Browser: Opera, Edge, Firefox
- OS: Windows
Logs
- INVALID_VALUE: texSubImage2D: width or height out of range
- GL_INVALID_VALUE: Desired resource size is greater than max texture size.