regl
regl copied to clipboard
Partial mipmap levels
Khronos Webgl test suite shows that webgl should work with partial mipmap levels. https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance2/textures/misc/tex-mipmap-levels.html
When I try regl with partial mipmap level data, regl throws exceptions:
Uncaught Error: (regl) missing or incomplete mipmap data
Is there a way in regl to create a texture with partial mipmap level data?
Hmm... Maybe the texture check is too aggressive. We should make some unit tests to confirm this behavior.
I think that's WebGL2 conformance - is the same true of WebGL? I don't see mention of partial levels in https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance/textures/misc/texture-mips.html