Mini Minecraft

Mini Minecraft

Mini Minecraft

For the final project of my Fall 2024 Computer Graphics class, I and 2 other people made a real-time voxel game based on Minecraft using OpenGL, C++, and HLSL.

I created the procedural skybox and the volumetric voxel raymarched clouds, both using GLSL shaders. To render the clouds, the program draws the backfaces of the cloud blocks into a depth buffer, and then draws the front faces into another depth buffer; the program then draws the clouds again, using the two depth textures to Raymarch from the start of the cloud to the end, sampling density and light along the way.

In addition to clouds, I contributed terrain rendering code that only draws the visible faces of the blocks for efficiency and multi-threaded terrain loading/generation.