ArticleslgStudy

computer science

Horizon mapping

Horizon mapping is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Horizon mapping rather than just read about it. In short: Horizon mapping is a texture mapping technique in 3D computer graphics used to simulate realistic self-shadowing on surfaces with displaced details, such as bump maps or other digital elevation models (DEMs). It achieves this by pre-recording the shape of the surrounding terrain for every point on a surface, allowing the graphics engine to quickly check if a light source is blocked by these features.

Key takeaways

  • Horizon mapping belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Horizon mapping to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Horizon mapping from memory before moving on to harder problems.

Reference excerpt

Horizon mapping is a texture mapping technique in 3D computer graphics used to simulate realistic self-shadowing on surfaces with displaced details, such as bump maps or other digital elevation models (DEMs). It achieves this by pre-recording the shape of the surrounding terrain for every point on a surface, allowing the graphics engine to quickly check if a light source is blocked by these features. This results in the illusion of bumps casting shadows on one another, greatly enhancing depth perception without the performance cost of modifying the underlying 3D geometry. Horizon mapping was introduced by Nelson L. Max in 1988. Modern implementations of horizon mapping are often compressed to save memory and are frequently used for rendering massive, tile-based environments like planetary terrains.

History and purpose Standard bump mapping creates the illusion of surface detail by perturbing surface normals, but it does not account for the "bumps" casting shadows on each other. Horizon mapping was introduced by Nelson L. Max in his 1988 paper, Horizon mapping: shadows for bump-mapped surfaces, to overcome this limitation. By precomputing how much light is blocked by the surrounding geometry, the technique enables fast, realistic self-shadowing that dramatically enhances depth perception without the performance cost of rendering full 3D geometry.

Mechanism The core mechanism of horizon mapping relies on precomputing the profile of the visible horizon. For each pixel or point on the terrain texture, the algorithm calculates the maximum elevation angle of the surrounding geometry across a set of quantized azimuthal directions. During real-time rendering, the engine calculates the elevation and azimuth of the scene's light source (such as the Sun). By mapping the light's azimuth to the precomputed discrete directions and interpolating the corresponding horizon elevation, the algorithm can instantly compare the light's angle against the local horizon. If the light source's elevation is below the recorded horizon elevation, the point is in shadow. If it is above, it is illuminated.

Modern applications Horizon mapping is highly advantageous for massive, tile-based environments, such as planetary-scale video games, flight simulators, or scientific visualizations. Because all the information required to calculate shadows is stored locally in the horizon map texture, the rendering engine does not need to keep massive amounts of out-of-view terrain geometry loaded in memory to cast accurate shadows. Recent research has further optimized the memory footprint of this technique. For example, a 2025 paper demonstrated that using a truncated Fourier series can compress the horizon data into a single multi-resolution texture, enabling engines to render real-time soft shadows on planetary scales with a minimal memory budget.

See also Displacement mapping Normal mapping Parallax occlusion mapping Shadow mapping

References

External links Fast Planetary Shadows using Fourier-Compressed Horizon Maps, Video presentation from HPG 2025 demonstrating modern horizon mapping.

Worked examples

Example 1 — a first encounter with Horizon mapping

Start with the simplest possible case. Write down what Horizon mapping claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Horizon mapping before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Horizon mapping ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Horizon mapping

In research
Horizon mapping appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Horizon mapping in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Horizon mapping is common in secondary-school and first-year university syllabi. It links to neighbouring topics 3D computer graphics, Geographic data and information, Shading, so understanding it makes those chapters shorter.
In everyday life
Look for Horizon mapping outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Horizon mapping” →

How to study Horizon mapping in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Horizon mapping means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Horizon mapping out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Horizon mapping in simple terms?

Horizon mapping is a texture mapping technique in 3D computer graphics used to simulate realistic self-shadowing on surfaces with displaced details, such as bump maps or other digital elevation models (DEMs). It achieves this by pre-recording the shape of the surrounding terrain for every point on…

Why does Horizon mapping matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Horizon mapping?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Horizon mapping.

Tags

  • 3D computer graphics
  • Geographic data and information
  • Shading
  • Texture mapping
  • Virtual reality

Keep exploring