I am using a tilemap I found online for rails, but I do not have use for all of the tiles, so I am only using a few. It works alright, but more complicated shapes completely mess up. Can someone take a look at my bitmask and tell me what's wrong?
I solved this issue myself: I wasn't using the simplified 3x3 bitmask.