Skip to main content

Voxel World

Categories: C OpenGL SDL

Inspired by Minecraft, I wanted to recreate the feeling of a cubic world while learning OpenGL.

The world is divided in 16x2x16 chunks containing 16x16x16 blocks.


  • Perlin noise terrain generation
  • chunks frustum culling
  • chunks distance culling
  • chunks VBO rebuilt when needed
  • hidden faces removed from VBO
  • ambient occlusion
  • skybox
  • fog
  • camera as in Minecraft flying mode