samedi 19 décembre 2015

Tremendous lag while rendering LIBGDX voxel engine

I managed to make myself a basic voxel engine that uses Perlin Noise to generate a array of models. Everything has gone well, but as soon as I turn the world size up to 200x200 blocks I get HUGE lag. I believe this is happening because I am rendering every block separately. How can I fix this? I have heard of using chunks but I cant really get my head around them. I will post code on request :D Any insights?




Aucun commentaire:

Enregistrer un commentaire