Hacker News new | ask | show | jobs
by castano-ludicon 473 days ago
Basis is an offline codec.

Spark allows you to encode textures that are generated at runtime. This enables the use of texture compression in cases that were not possible before, for example:

- UGC Textures allow users to customize their avatars or modify them based on gameplay. - Virtual Texturing makes it possible to composite terrain layers and apply decals. - Procedural textures can be much more compact and respond to environment changes dynamically.

Spark can also be used in combination with traditional offline codecs optimized transmission and storage. AVIF and JXL are great options for this, but need to be decompressed in memory, thus their use is very expensive at runtime. Spark allows you to transcode from these formats into GPU optimized representations.