Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Merging multiple meshes into one

$
0
0
I'm currently working on a Minecraft-like game ( a world made of blocks ). Until now it seems to be working very fine. But I can feel that the more blocks I'm adding to one world the slowlier it runs ( CPU throttles it ). My solution would be to put the vertex/index data of all same blocks ( same texture etc. ) into one one vertex/index buffer to relieve the CPU since I wont need that much draw calls anymore. Have you got any ideas of how I could do this the best way?

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>