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
Bug: [v8] Compressed textures are not being rendered #10234
Comments
heya! just to clarify, is this not working but meant to? Or is it that some older formats are no longer supported? |
Since I'm not aware of your plans for changes in version 8, I cannot be certain, but I expect it should work. So I did few more tests, and here are my findings:
P.S.: For some reason v8.0.0-rc.10 example render black square in Safari v17.2, while v7.4.0 is ok, in the same time both tests on my local machine are ok. |
Thanks for your feedback. Compressed textures are not included by default, they can be included as a bundle. doing one of the following imports will add all the necessary extensions:
Im cool with your suggestions, my thinking was that compression will play a big part of adoption for using them on the web - so wanted to make sure that was all covered. Stacked at the mo, would certainly welcome PR's for adding back DDS DX10 and KTX containers! Up for the challenge? :D |
@Zyie what would be the way to install the compressed texture bits when working with the bundle? |
I think this is a bug. The compression extensions should be automatically added when using the pre bundled version of the library. It seems that the code for everything is there, but the |
|
Current Behavior
Raw compressed textures are not being rendered.
https://pixiplayground.com/#/edit/SaiCR3dMAPI85gObYWsYW
Expected Behavior
Compressed textures are rendered in the same way that PNG and WebP formats are.
https://pixiplayground.com/#/edit/uSKvABfoVBI1irklcDsf8
Steps to Reproduce
Try to load and render compressed texture
Environment
pixi.js
version: v8.0.0-rc.10Possible Solution
No response
Additional Information
Additionally, in version 8:
Will v8 support those compressed texture containers in the future?
The text was updated successfully, but these errors were encountered: