Skip to content

fix(gltf) determine supported textures by web.gl from parse-gltf#3423

Open
nishalshettigar wants to merge 2 commits into
visgl:masterfrom
nishalshettigar:fix-gl-texture-issue
Open

fix(gltf) determine supported textures by web.gl from parse-gltf#3423
nishalshettigar wants to merge 2 commits into
visgl:masterfrom
nishalshettigar:fix-gl-texture-issue

Conversation

@nishalshettigar

Copy link
Copy Markdown

Earlier, the determination of supported textures was done from parse-gltf.ts file. The code in this file runs on the main thread. After the removal, this operation is happening from parse-basis.ts file. Since, the code in this file is run from a worker threads, it doesn't have access to the webgl context. Hence, it is not able to get the list of textures and this causes the rgb565 texture (the fallback texture) to be selected, instead of the supported compressed texture.

Fixes visgl/deck.gl#9912

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Deck GL > 9.0 results in failed 3D tiles for compressed tiles

1 participant