top of page

Simple Miner

SimpleMiner_resize.gif

A clone of Minecraft with basic world generation, simple inventory, and translucent water with vertex animation.

​​

The world generation uses Perlin noise on almost everything, from biomes to lightning strikes. Perlin noise gave the possibility to create a unique, infinite, and persistent world per seed. The world is generated in chunks, each chunk is 16x16x128 in size. Chunks are activated and deactivated based on the distance from the player. Chunk generation is multi-threaded to improve framerate. Light propagation uses a light influence map with both outdoor lighting(skylight) and indoor lighting(glowstone), then uses a custom hlsl shader to render lighting. Rendering of individual blocks uses the hidden surface removal(HSR) technique which greatly reduces the cost of drawing unnecessary pixels.

​

Translucent water uses a custom (HSR) technique for water, with a separate rendering pass in sorted order. The vertex animation uses time to offset the vertices to simulate a waving effect.

bottom of page