apeltsi / loitsu

Cross-platform Game Engine written in Rust
MIT License
1 stars 0 forks source link

"Mini" textures #29

Open apeltsi opened 10 months ago

apeltsi commented 10 months ago

During build, loitsu could generate an texture atlas with low-res versions of every texture. This data could be included in the static shard. This could make instant scene loading possible, as all texture assets are already loaded in memory. Depends on #27 and #28.

apeltsi commented 10 months ago

To be clear: This would be enabled in project preferences as an option asset management model. It would just expand upon the current default asset management model as an optional speed-boost.

apeltsi commented 10 months ago

This should also keep asset overrides in mind, so that we don't end up making something higher-res than necessary. Also once #16 is implemented, it should also affect the size on the atlas.