It was needed to use second VBO buffer array, as not every tile need animation.
And we have to switch between these 2 arrays, when needed.
FPS improvement is not as huge, as after render tiles with VBO, but still a bit more FPS will be archived, especially on maps with some kind of ocean, or with many swamps.
Same as for tiles.
It was needed to use second VBO buffer array, as not every tile need animation. And we have to switch between these 2 arrays, when needed.
FPS improvement is not as huge, as after render tiles with VBO, but still a bit more FPS will be archived, especially on maps with some kind of ocean, or with many swamps.