defold / defold

Defold is a completely free to use game engine for development of desktop, mobile and web games.
https://www.defold.com
Other
3.94k stars 282 forks source link

Add WebP compression as an extension #5938

Open britzl opened 2 years ago

britzl commented 2 years ago

Is your feature request related to a problem? Please describe (REQUIRED): WebP compression was removed when the texture compression pipeline was migrated to Basis Universal. WebP (especially WebP Lossy) still has some merit in an HTML5 game context where compressed texture size is very important to keep game size as small as possible.

Describe the solution you'd like (REQUIRED): WebP compression should be brought back as an extension

Describe alternatives you've considered (REQUIRED): Could WebP compressed images be loaded completely "on the side" somehow? Can a fully configurable Basis Universal compression pipeline reach similar results as WebP Lossy?

Additional context (OPTIONAL): Discussed on the forum:

AGulev commented 2 years ago

yeah, in Ru community many people use Defold for web games and osme of them decided to stay with 1.2.179 because it has WebP.

taracheshnikov commented 2 years ago

I think it would be great to add WebP support

britzl commented 2 years ago

I think it would be great to add WebP support

Remember to give it a 👍 on the first post of this issue!

dotnetmouse commented 8 months ago

As of 2023, WebP compression is still not supported?

britzl commented 8 months ago

As of 2023, WebP compression is still not supported?

Correct. But we are now pretty sure of the path to an implementation. I think this will be one of the upcoming tasks for us to work on early in 2024.

AGulev commented 5 months ago

Using png maybe a good option as well (since we already have image lib in the engine)