Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Game Asset Storage, Loading, Compression and Caching (ph3at.github.io)
4 points by w4rh4wk5 on March 1, 2023 | hide | past | favorite | 1 comment


Another format I've thought about for game asset storage (specifically uncompressed textures) is avif, as theoretically it can be quickly decoded on the GPU's hardware decoder.

The actual implementation of that would be very difficult with current graphics APIs... I think. And it wouldn't be particularly useful in game that primarily store textures in GPU-friendly formats. But the upload to the GPU would be incredibly fast, and it wouldn't even steal any work from the shader units.

Over in ML land, Nvidia GPUs actually do have a beefy hardware JPEG decoder just for this scenario.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: