GrizzliusMaximus
Member
So I'm making a game that makes use of chunks like Minecraft. Each chunk has a vertex buffer and I thought of freezing the vertex buffer to reduce the lag but the opposite happened.
Without vertex_freeze()
with vertex_freeze()
Now it looks like vertex_freeze() is helping if you look at the bar and the fps_real (value under the bar) however, the actual fps is lower with vertex_freeze(). There is also more vertex batches.
I think the bottleneck is caused by my GPU and if I were to test this on a PC with better GPU, vertex_freeze() may actually double the framerate. I am running my game with Intel HD Graphics so clearly not the best graphics.
So... if my speculation is true, why is GPU having more trouble working on a frozen vertex buffer?
(Also, if you are questioning the high number of vertex batches, I'm over stressing the game for the sake of this thread. Normally, there will be about 25-30 vertex batches)
Without vertex_freeze()
with vertex_freeze()
Now it looks like vertex_freeze() is helping if you look at the bar and the fps_real (value under the bar) however, the actual fps is lower with vertex_freeze(). There is also more vertex batches.
I think the bottleneck is caused by my GPU and if I were to test this on a PC with better GPU, vertex_freeze() may actually double the framerate. I am running my game with Intel HD Graphics so clearly not the best graphics.
So... if my speculation is true, why is GPU having more trouble working on a frozen vertex buffer?
(Also, if you are questioning the high number of vertex batches, I'm over stressing the game for the sake of this thread. Normally, there will be about 25-30 vertex batches)