maxwes08 38db4ce6b9 cleanup
2026-05-25 09:44:23 +02:00
2026-04-20 15:36:30 +02:00
2026-04-20 15:36:30 +02:00
2026-05-25 09:44:23 +02:00
2026-05-25 09:44:23 +02:00
2026-05-25 09:44:23 +02:00
2026-05-25 09:44:23 +02:00
2026-03-25 21:46:57 +01:00
2025-08-26 16:00:54 +02:00
2026-05-25 09:44:23 +02:00
2025-08-26 16:00:58 +02:00

Voxel Engine Reference

C# / OpenTK 4 Voxel Engine (Minecraft clone).

Core Systems

  • Rendering: SSBO-based (Shader Storage Buffer Objects) for packed face data and GPU meshing.
  • Data: 1D Flat arrays for blocks, bitwise indexing for speed.
  • Updates: Dirty-flagging for chunk and neighbor mesh rebuilding.

Performance Notes

  • Use UpdateNeighborsAtBoundary to mark adjacent chunks dirty.
  • Call RebuildDirtyChunks at the end of the update loop.
  • Avoid per-block GL.BufferSubData calls, batch into one SSBO update.
Description
No description provided
Readme 438 KiB
Languages
C# 97.3%
GLSL 2.7%