-
Notifications
You must be signed in to change notification settings - Fork 25
Unable to load etc1 (pvr) texture #15
Comments
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. |
We have to check if program goes there: https://github.com/pixijs/pixi-compressed-textures/blob/master/src/CompressedImage.js#L294 |
yes, it enters into that case |
On your GL context ( |
yes, that worked, adding |
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 :) |
pvrtc with etc1 encoding isn't raw etc1. |
I'm trying to use compressed textures in mobile application. and i'm unable to load etc1 texture, i'm getting those warnings and a black square:
WebGL: INVALID_ENUM: compressedTexImage2D: invalid format
CompressedImage.generateWebGLTexture @ pixi-compressed-textures.js:22303
[.Offscreen-For-WebGL-0xdd8fe800]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
this is the code i'm using:
and the pvr file is taken from this site, witch shows pvr (etc1) just fine on my tablet
The text was updated successfully, but these errors were encountered: