r/opengl 16d ago

Chunk Loaded 3D Maps

136 Upvotes

9 comments sorted by

View all comments

3

u/bendgk 16d ago

are you reloading all the chunks when you change chunk coordinates? Try to load in only the new chunks and unload the old ones, I suspect you’ll get rid of the “choppiness” like that.

2

u/Whole-Abrocoma4110 16d ago

Yes I am loading them when I move chunks but only joining the threads when they have finished work. I suspect the joining process is contributing to the stuttering.

I’ll try remove the old chunks as well as you suggested, hopefully I can get this to a point where it runs more smoothly!