Since this is WebGPU related, not really sure of how accurate these statements will be since I do make lots of changes on my end and it could just be my code, maybe test them yourself:
- Currently, if a renderer is to be provided to the
decompress
function then the variable_renderer
should remainundefined
and its check tonull
in order to dispose of it might throw an error- The
_renderer
does not appear to have any functionality so it could probably be removed
- The
- Textures in the official
coffeemat.glb
example have odd scale and offset and thedecompress
function might not properly decompress them - I did see a few warnings about non-power-of-two textures not providing correct buffer size, not really sure if this is three.js related and whether the TextureUtilsGPU.js file might need any code changes for that
No specific example to provide as a codepen.
This is more of an FYI but feel free to reply and correct any of these statements.