Open darthdeus opened 5 years ago
3x3 needs ALL combinations. 3x3 minimal disregards corners, but 3x3 does not. It checks the EXACT configuration around your tile so your bitmask would need to be to get the desired behavior. 3x3 is supposed to give you more freedom, but you also need more tiles.
If you're trying to add only a few "new" cases to 3x3 minimal, the autotile system would need a revamp, see the discussion #18960. Maybe this issue could be turned into a feature request?
@isaacremnant ah that makes sense, thanks for the explanation! I guess this could at least be turned into a documentation request :) I'd offer to help but I really don't understand it enough to write it.
I was about to document the 3x3 (minimal) vs 3x3 differences, but #27565 introduced wildcard patterns, so I'm not sure how they fit in the new picture.
Apparently you need to use the complete bitmask tileset for either 3x3 minimal or 3x3 to work properly: https://github.com/godotengine/godot/issues/37360 This needs to be in the documentation: https://github.com/godotengine/godot-docs/issues/3316
This is the correct setting you should use for your 3x3 bitmask example: 3x3 bitmask must match exactly what you want, 3x3 minimal may disregard bit cornrers. see here https://github.com/godotengine/godot/issues/37360#issuecomment-630419223
You can also use wildcards if desired.
Godot version: v3.1.stable.official (installed via steam)
OS/device including version: Ubuntu 18.04, GTX 1080ti
Issue description:
The same tiling works well with "3x3 (minimal)" but breaks with "3x3", even though all the needed tiles are seemingly present.
This is what it looks like with "3x3 (minimal)"
and the exact same setup only switching the tilemap from "3x3 (minimal)" to "3x3"
Steps to reproduce:
Minimal reproduction project:
If this is a bug and not just my misunderstanding I can provide it.