bevy/crates
Robert Swain 0529f633f9 KTX2/DDS/.basis compressed texture support (#3884)
# Objective

- Support compressed textures including 'universal' formats (ETC1S, UASTC) and transcoding of them to 
- Support `.dds`, `.ktx2`, and `.basis` files

## Solution

- Fixes https://github.com/bevyengine/bevy/issues/3608 Look there for more details.
- Note that the functionality is all enabled through non-default features. If it is desirable to enable some by default, I can do that.
- The `basis-universal` crate, used for `.basis` file support and for transcoding, is built on bindings against a C++ library. It's not feasible to rewrite in Rust in a short amount of time. There are no Rust alternatives of which I am aware and it's specialised code. In its current state it doesn't support the wasm target, but I don't know for sure. However, it is possible to build the upstream C++ library with emscripten, so there is perhaps a way to add support for web too with some shenanigans.
- There's no support for transcoding from BasisLZ/ETC1S in KTX2 files as it was quite non-trivial to implement and didn't feel important given people could use `.basis` files for ETC1S.
2022-03-15 22:26:46 +00:00
..
bevy_app remove Events from bevy_app, they now live in bevy_ecs (#4066) 2022-03-01 19:33:56 +00:00
bevy_asset iter_mut on Assets: send modified event only when asset is iterated over (#3565) 2022-03-05 21:25:30 +00:00
bevy_audio Audio control - play, pause, volume, speed, loop (#3948) 2022-03-01 01:12:11 +00:00
bevy_core export TaskPoolThreadAssignmentPolicy (#4145) 2022-03-08 01:54:36 +00:00
bevy_core_pipeline use marker components for cameras instead of name strings (#3635) 2022-03-12 00:41:06 +00:00
bevy_crevice Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_derive small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
bevy_diagnostic small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
bevy_dylib Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_dynamic_plugin Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_ecs Obviate the need for RunSystem, and remove it (#3817) 2022-03-15 02:16:55 +00:00
bevy_ecs_compile_fail_tests Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_gilrs remove Events from bevy_app, they now live in bevy_ecs (#4066) 2022-03-01 19:33:56 +00:00
bevy_gltf KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
bevy_hierarchy Split bevy_hierarchy out from bevy_transform (#4168) 2022-03-15 01:54:05 +00:00
bevy_input remove Events from bevy_app, they now live in bevy_ecs (#4066) 2022-03-01 19:33:56 +00:00
bevy_internal KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
bevy_log Example of module-level log usage and RUST_LOG usage in main doc (#3919) 2022-03-05 03:00:31 +00:00
bevy_macro_utils small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
bevy_math Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_pbr KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
bevy_reflect Add Reflect support for DMat3, DMat4, DQuat (#4128) 2022-03-08 00:14:21 +00:00
bevy_render KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
bevy_scene Split bevy_hierarchy out from bevy_transform (#4168) 2022-03-15 01:54:05 +00:00
bevy_sprite KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
bevy_tasks small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
bevy_text Add docs and common helper functions to Windows (#4107) 2022-03-08 00:46:04 +00:00
bevy_transform Split bevy_hierarchy out from bevy_transform (#4168) 2022-03-15 01:54:05 +00:00
bevy_ui Split bevy_hierarchy out from bevy_transform (#4168) 2022-03-15 01:54:05 +00:00
bevy_utils default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
bevy_window Add docs and common helper functions to Windows (#4107) 2022-03-08 00:46:04 +00:00
bevy_winit Add docs and common helper functions to Windows (#4107) 2022-03-08 00:46:04 +00:00