-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KTX2Loader: Fix regression with 3D textures. #26679
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Would you mind sharing an example of an affected 3D texture, so that we can test to confirm this stays fixed?
Related:
Yes, here's a 3D texture (size 33 , FloatType) of a LUT compressed with |
@donmccurdy Should I merge this and release |
@mrdoob I believe use of KTX2 with DataTexture and Data3DTexture is rare compared to storing compressed textures, so this is not hugely urgent, but if you don't mind making a r0.156.1 patch, yes that would be ideal! |
In any event, the PR can be merged 😇 . |
Given #26691 ... perhaps a patch release would be best after all – thank you! 😇 |
Indeed!^^ |
Will do! |
* KTX2Loader: fix data textures * remove redundant mipmap assignment * use first mipmap unconditionally
After the latest changes in KTX2Loader of
r156
, data 3D textures stopped working. This PR fixes them.