Comments (7)
On your GL context (app.renderer.gl
, I think), try calling gl.getExtension('WEBGL_compressed_texture_etc1')
. It looks like we aren't checking for the ETC extension, so I assume that manually enabling the extension will work.
from pixi-compressed-textures.
yes, that worked, adding etc: getExtension(gl, "WEBGL_compressed_texture_etc1")
fixed it
from pixi-compressed-textures.
OK, I'll try to look at it on my android phone. Actually, I didnt check if ETC1 is working in this plugin at all.
from pixi-compressed-textures.
We have to check if program goes there: https://github.com/pixijs/pixi-compressed-textures/blob/master/src/CompressedImage.js#L294
from pixi-compressed-textures.
yes, it enters into that case
from pixi-compressed-textures.
I'm also trying to use etc1 but getting "Uncaught Compressed texture format is not recognized". Never used etc1 before. So maybe I'm doing some wrong thing. Which tool do you use to create etc1 files and if command line how do you write?
This file was working but I have no idea how they built it. http://toji.github.io/texture-tester/textures/shannon-etc1.pvr I will be super happy if you can pin point me in the right direction :)
from pixi-compressed-textures.
pvrtc with etc1 encoding isn't raw etc1.
pvrtc - is container for different encodings formats.
from pixi-compressed-textures.
Related Issues (14)
- The "example" link is 404 HOT 2
- 404 not found - demo example 3 console errors HOT 1
- pixi-compressed-textures TypeScript Definition HOT 4
- premultipliedAlpha not work HOT 11
- Module not found: Error: Can't resolve 'fs' HOT 2
- Not working with PIXI v5.1.1 HOT 15
- KTX support? HOT 3
- Documentation enhancements
- Plugin always assumes that compressed texture has not premultiplied alpha HOT 13
- Pixi v6 Deprecated methods HOT 4
- Can anyone teach me to use this compress , please...😇 HOT 1
- how can i load a .dds file with pixijs-v6?
- how can i make a line clickable? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixi-compressed-textures.