#heightfield

A surface described by one height for every point on the ground: give it (x, z) and it returns y. Fractal noise makes a good one, and it is never stored, only worked out where a ray looks, so the land can go on forever. A ray is marched over it by stepping a share of its height above the ground until it drops below.

1 shader

All techniques · In the glossary