Skip to content

compressed textures in WebGL #1182

Open
@obiot

Description

one key feature still missing in melonJS, if anyone is up to it, is the ability to load compressed texture for WebGL, with the benefits of shorting loading time and using less VRAM.

At minima (if I'm correct), supporting ASTC (the new format for WebGL), DXT (for destop), PVR (for IOS) and ETC[1/2] (for Android).

Extra bonus, this tool could be integrated in the boilerplate build chain to automatically compress textures :
https://www.npmjs.com/package/texture-compressor/v/0.3.1

and last but not least an interesting article here about compressed textures:
https://www.shukantpal.com/blog/pixijs/do-not-use-uncompressed-textures/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions