We're using GL_QUADS to render the tiles. And different tilesets aren't really working either. We should find all visible tiles on the map and group them by their tileset and render them as batches, one for each tileset. Or maybe even X tilesets, using mulitple textures in the same batch and a shader.
We're using
GL_QUADS
to render the tiles. And different tilesets aren't really working either. We should find all visible tiles on the map and group them by their tileset and render them as batches, one for each tileset. Or maybe even X tilesets, using mulitple textures in the same batch and a shader.