Possible to tile/repeat tilemaps (or tile containers)?

I have an application where I need to take an arbitrary set of Tiles (contained in a TileContainer) and repeat them across the entire screen.

My current solution is to just duplicate the tiles into duplicated tile containers and repeat them manually. This is clearly not very efficient and is too slow, so I’m trying to figure out some way to just re-render existing “instances” of my Tilemap (or TileContainer) across the area.

Is this possible somehow? Anyone have suggestions? Thanks in advance :slight_smile:

Here is a tiling effect implemented by a shader, I don’t know if it is suitable.

Thanks for the suggestion @rainy .

I was hoping to find a way to render this without an additional fragment shader, since there could be other shaders running as well, but it’s possible that this approach might work.