Closed dmnsgn closed 4 months ago
I should check for array of TypedArray instead of just .compressed
(basis loader can return uncompressed fallback mipmaps).
We have an issue with getPexMaterialTexture
crashing when trying to resize NPOT of image as texture is having mipmaps but the source data is compressed blob not html image source. Disabling check prevents the crash but leads to GL errors as now we are trying to upload NPOT mipmaps which webgl1 doesn't support.
Closing as included in pex-loaders + pex-renderer gltf (issue about leftovers here if needed)