This sample realizes old school voxel spacing or raycasting. At first, tileable Perlin noise is precalculated. Then, a light and a shadow map is created. Please click at first at the application with your mouse to control the sample with the keyboard:
cursor keys: forward, backward, left and right rotation
q,a and w,s: up and down
r,g,b: red, green and blue landscape
space: change between normal, lighted and lighted+shadowed landscape ...
Go to the complete details ...