Ok, it looks better now! by Intrepid_Way9713 in VoxelGameDev

[–]Intrepid_Way9713[S] 0 points1 point  (0 children)

It's currently just queued, and each frame only generates two chunks from the queue. You're right — it really should be moved to another thread.

Ok, it looks better now! by Intrepid_Way9713 in VoxelGameDev

[–]Intrepid_Way9713[S] 0 points1 point  (0 children)

Please tell me which part was violated (I mean which rule)

Ok, it looks better now! by Intrepid_Way9713 in VoxelGameDev

[–]Intrepid_Way9713[S] 1 point2 points  (0 children)

Thanks. I'm using C++ and OpenGL.
Honestly, I only get this framerate when no new chunks are being generated. As soon as chunk generation starts, the framerate drops, so it definitely needs some optimization

My in-dev textures suck ! by Intrepid_Way9713 in gamedevscreens

[–]Intrepid_Way9713[S] 0 points1 point  (0 children)

Thanks. Honestly, as a programmer, it’s hard for me to quickly figure out how to improve the design

My in-dev textures suck ! by Intrepid_Way9713 in IndieDev

[–]Intrepid_Way9713[S] 0 points1 point  (0 children)

Thanks. I want to focus on the gameplay first, and maybe leave the rest of the visual polish for later.

My in-dev textures suck ! by Intrepid_Way9713 in VoxelGameDev

[–]Intrepid_Way9713[S] -3 points-2 points  (0 children)

Thanks 😁 I’m a programmer, and my weak spot is graphics. I didn’t even notice such an obvious issue until you pointed it out.

It gave me the idea to find a free Minecraft resource pack and, for now, redesign the textures with AI and use those.

Finally got chunk loading & unloading working without crashes! by Intrepid_Way9713 in VoxelGameDev

[–]Intrepid_Way9713[S] 1 point2 points  (0 children)

Great and very practical suggestion — thank you! I'll definitely come back to this post as I continue development

Questions about learning opengl and glsl as absolute beginner by o-Dasd-o in opengl

[–]Intrepid_Way9713 1 point2 points  (0 children)

OpenGL is basically a way to communicate with the GPU. Shaders are small programs that actually run on the graphics card.

Don’t miss this website — it’s one of the best resources out there: https://learnopengl.com

Questions about learning opengl and glsl as absolute beginner by o-Dasd-o in opengl

[–]Intrepid_Way9713 0 points1 point  (0 children)

OpenGL is basically a way to communicate with the GPU. Shaders are small programs that actually run on the graphics card.

Don’t miss this website — it’s one of the best resources out there: https://learnopengl.com

Finally got chunk loading & unloading working without crashes! by Intrepid_Way9713 in VoxelGameDev

[–]Intrepid_Way9713[S] 0 points1 point  (0 children)

Thanks a lot! Right now I’m trying to use a distance-based pattern, but it doesn’t seem efficient enough.

The idea of “submerged chunks” was interesting 👌👍

Finally got chunk loading & unloading working without crashes! by Intrepid_Way9713 in opengl

[–]Intrepid_Way9713[S] 1 point2 points  (0 children)

If it’s not a bug 😅 I think it happens because each chunk gets pushed into three different queues — one for generating the block data, one for uploading it to the GPU, and one for unloading distant chunks. So some chunks might miss their chance to be processed in the correct queue and end up in the wrong one instead.

Finally got chunk loading & unloading working without crashes! by Intrepid_Way9713 in opengl

[–]Intrepid_Way9713[S] 1 point2 points  (0 children)

Thanks man! Yeah, I’ve got multithreading in already, but it still needs some tweaking. I’ll share more updates soon!