regl icon indicating copy to clipboard operation
regl copied to clipboard

Partial mipmap levels

Open codpe opened this issue 7 years ago • 2 comments

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?

codpe avatar Nov 17 '17 12:11 codpe

Hmm... Maybe the texture check is too aggressive. We should make some unit tests to confirm this behavior.

mikolalysenko avatar Jan 11 '18 20:01 mikolalysenko

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

wwwtyro avatar May 16 '18 23:05 wwwtyro