Page 1 of 1

Bake icons on startup rather than maintaining them as separate layers

Posted: Sat Sep 05, 2020 7:37 am
by kirazy
Icon layering allows for substantially more powerful icon creation (many mods make use of icon layering to create recipes dynamically, for example), but for entities placed in-world, there are negative performance impacts, and the current behavior is not-ideal with each layer casting a shadow on the layer below it:

Image
Image

If icons were instead baked after they've all been created during data phase, these pain points could be entirely avoided. :D

See: viewtopic.php?f=58&t=84888

Re: Bake icons on startup rather than maintaining them as separate layers

Posted: Sat Sep 05, 2020 8:12 am
by ssilk
Interessting news in that link. I think such graphic painting qualities in the startup would make things a lot easier. Think to mods for compressed items: They need a palette as "griund" and paint some items slightly smaller over that to generate one item-graphics. But they need to do that dozens of times (for mods eventually some hundreds).