Real-time Procedural Landscape Globe in WebGL

This small project renders a terrain and cloud inside a globe usind SDFs and ray marching. The globe is made with a simple sphere which acts as the bounding volume for the terrain, and will refract the ray as it is being marched. Both the terrain and the moving cloud are generated using FBM noises inspired by this tutorial by Inigo Quilez. Soft shadows are added to the terrain with atmospheric fog based on the distance from camera.

Check it out live!