This week I created a way for terrain to detect surrounding tiles and choose from a set of 48 options featuring corners and edges. This is done dynamically, if you left click you can add elevation, and lower elevation with right click. This is truly not optimized at all, with 5 tilemaps and each click checking every tile like 10 times. I'll work on it, I'll likely upgrade from this 8 bitmasking for each terrain to 11 bit masking for each terrain, the 3 extra bits giving 8 options for which terrain to choose from. I removed grass as it'll be on top of the terrain, and instead replaced it with dirt and stone. I'll optimize it more by only editing the clicked tile and the 8 surrounding tiles, currently it checks every tile like it does on the start of the layout.