Kromster80 / kam_remake

"KaM Remake" is an RTS game remake written in Delphi from scratch.
http://www.kamremake.com
GNU Affero General Public License v3.0
355 stars 88 forks source link

Render water animation with VBO #418

Closed reyandme closed 6 years ago

reyandme commented 7 years ago

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.