Open marrub-- opened 8 years ago
Is there some pre-defined atlas definition format we could take advantage of for manual atlasing, or would we need to develop something ourselves? I guess it could just be defined in scripts themselves or some such?
Yeah, we'd just have our own definition format for pre-atlased textures, and the game would put anything that isn't pre-atlased into one of a set of atlas textures in-memory.
There's a concept from GMS that might be helpful here as well: texture groups.
Also thinking about it, exposing natives related to allowing the user to setup the atlasing and paging themselves would be good to give the power if necessary to minimize texture swaps.
I NEED THIS NOW BEFORE I FUCKING KILL VRAM AND PERFORMANCE
to elaborate: there should be both in-memory generation and the ability to define textures as manually atlased, in case you want that