Repeatable texture sampling with interchangeable patches
An alternative for Wang tiles: colored edges versus colored corners