Eniko Fox @enikofox.com · May 11

made an aseprite script that goes through all tiles figuring out which columns are fully opaque or not it marks columns of contiguous pixels as opaque but to avoid false positives it checks the nearest opaque column and if the current column is less than 75% the height of that it forces transparent

22 likes 1 replies

?

Replies

Eniko Fox · May 11

this means i can render in 2 passes: 1. front-to-back, marking any fully opaque column with the "depth" of that wall tile 2. back-to-front, drawing only if the depth of the thing being drawn is greater or equal to the column depth this way nothing gets drawn behind the front-most solid columns