How to render many tiles fast if zoomed out? (nonogame/xna)

by EnemyArea   Last Updated February 27, 2018 09:13 AM

I currently trying to optimize my tileengine. I used monogame with the spritebatch first, but that doesn’t works well. I have read many, many articles how I could optimize my rendering code. I moved away from the normal spritebatch and used the vertexbuffer+indexbuffer stuff. Works very well, but not so good as I hoped. I have chunked my tilemap in 50*50 large chunks and render each with his own vertexbuffer. Additional i check whether the chunk is in view and only render it then. But things getting very bad if I zoom out. Let’s say the map is 500*500 tiles where a tile is 32*32px tall. Now I must render too many of the chunks to the same time. How can I fix that performance issue here?

I have attached a sample project if some one is interested in it.

Related Questions

Monogame tilemap and camera render issue

Updated April 07, 2016 08:05 AM

SFML drawing Tiles low fps

Updated April 05, 2015 16:05 PM