top of page

Terrain Generator

This video is a demonstration of my code which is used for generating a terrain from a black and white bmp image (heightmap) for the purpose of learning Game Development using OpenGL.

My experiments with Terrain generation.

This sample program uses index buffers, vertex shaders and fragment shaders to create this terrain. The main problem here is the lighting isn't perfect at certain viewing angles. This code uses 256x256 px grayscale bmp heightmaps to generate this terrain. 

bottom of page