GithubHelp home page GithubHelp logo

Comments (7)

andrewstart avatar andrewstart commented on May 24, 2024 1

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.

mityok avatar mityok commented on May 24, 2024 1

yes, that worked, adding etc: getExtension(gl, "WEBGL_compressed_texture_etc1") fixed it

from pixi-compressed-textures.

ivanpopelyshev avatar ivanpopelyshev commented on May 24, 2024

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.

ivanpopelyshev avatar ivanpopelyshev commented on May 24, 2024

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.

mityok avatar mityok commented on May 24, 2024

yes, it enters into that case

from pixi-compressed-textures.

EloB avatar EloB commented on May 24, 2024

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.

eXponenta avatar eXponenta commented on May 24, 2024

pvrtc with etc1 encoding isn't raw etc1.
pvrtc - is container for different encodings formats.

from pixi-compressed-textures.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.