starbounded
starbounded copied to clipboard
Make material mods render correctly
What are the first 7(?) vertical pixels for?
Seems like the top 8x8 is for corners somehow, the next 24x4 is probably for left end, middle, right end overflow, the next 24x8 is for left/middle/right stuff.
I've got some preliminary rendering code in now, will keep experimenting.
They render pretty ok now, but this is missing:
- [ ] Render ends of matmods correctly (right now the middle segment is always used)
- [ ] Don't render matmods when there is no solid block below them