-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I want the sprites to be 4-pixel aligned, so that when it undergoes S3 compression there aren't any blocks of pixels that contain parts of two different sprites, and I can't figure out how to do it. I've already made it extrude the sprites so that they're dimensions are both multiples of 4 (see my fork); thinking that would automatically pack them in an aligned way, which didn't work. Then I tried dividing the size by the alignment at the start of MaxRects::insertNode, and multiplying the resulting position by the alignment before returning, and that didin't work either, so I'm out of ideas.
Metadata
Metadata
Assignees
Labels
No labels