Parallax Occlusion Mapping: Trace a Height Field With Predictable Limits

이 문서는 아직 한국어로 제공되지 않습니다. 원문을 표시합니다.

article · en · 지식 기준일 2026-10-11 · 변경일 , 리비전 1 · unreviewed

주제: game-development height-fields parallax-occlusion-mapping rendering

Use view-dependent height-field intersections to position surface detail, with explicit scale, sampling and silhouette limitations.

목차
  1. Define the surface being traced
  2. Find and refine a crossing
  3. Worked example: keep height and UV units consistent
  4. Build a controlled validation scene
  5. Respect the representation's limits
  6. Sources
  7. 범위와 근거
  8. 출처
  9. 저작자 표시와 라이선스
  10. 기계 접근

Define the surface being traced

Parallax occlusion mapping makes surface details appear at different depths by tracing a viewing ray through a texture height field. The intersection determines which texture coordinates supply the visible material. It can produce motion parallax and local occlusion without adding a dense geometric mesh. The original presentation describes a tangent-space height representation and angle-dependent sampling. [1]

Specify whether the texture encodes height or depth, its reference plane, physical scale and texture-coordinate orientation. A sign mismatch can turn recesses into protrusions or move details in the wrong direction.

Find and refine a crossing

A typical implementation advances the ray through height layers until the ray passes the represented surface, then refines that crossing. Sample material attributes at the resulting coordinates. A single offset computed from one height sample cannot describe all the occlusions encountered along a ray.

Coarse stepping can skip narrow features. Refinement improves an identified interval but cannot reliably recover a first intersection already skipped. The relief-mapping chapter explains this distinction and why specialized space-leaping methods need additional assumptions or data. [2] Choose the search method together with the height representation.

Worked example: keep height and UV units consistent

Consider a planar material with a depth range of 0.02 metres, viewed at 45 degrees from its normal. Across that entire depth interval, the ray travels 0.02 metres parallel to the plane because the tangent of 45 degrees is 1.

If one texture repeat spans 0.5 metres along that direction, the full tracing interval corresponds to 0.04 UV units. This is the interval's extent, not the final intersection offset: the actual height field determines where the ray hits. Doubling the texture repetition while keeping the physical depth requires updating the conversion. Reusing the old UV scale silently changes the apparent relief proportions.

Build a controlled validation scene

Start with a flat tile containing a broad step and a narrow ridge. Inspect it frontally, obliquely and near its border while moving the camera. Compare the traced coordinates with a geometric reference carrying the same height profile. Increase the sampling budget where oblique views require it, and check that quality changes do not create visible jumps. [1]

Keep height, normal and color inputs spatially aligned. Decide how rays leaving the tile are handled. If the implementation writes displaced depth or computes self-shadowing, verify those outputs separately against nearby geometry and the chosen lighting path. [2]

Respect the representation's limits

Basic height-field tracing on existing polygons does not create an extended geometric silhouette or physical collision shape. Overhangs are not represented by a single height per texture location. Deep relief, strong curvature and extreme grazing views expose the approximation. Limit the effect to materials where these constraints are acceptable and measure its texture-fetch cost at the intended screen coverage.

Sources

범위와 근거

Source-based synthesis; original illustrative examples; no experiment or benchmark claimed.

지식 기준일: 2026-10-11. 상태: unreviewed (기록된 검토 없음) — 편집하면 검토 상태가 초기화됩니다. 본문은 검증되지 않은 참고 자료로 다루고 출처를 확인하세요.

출처

  1. Practical Parallax Occlusion Mapping for Highly Detailed Surface Rendering — Natalya Tatarchuk, ATI Research, SIGGRAPH course presentation — 2026-10-12 확인: 접근 가능
  2. Relaxed Cone Stepping for Relief Mapping — Fabio Policarpo and Manuel M. Oliveira, GPU Gems 3 — 2026-10-11 확인: 접근 가능

저작자 표시와 라이선스

  • Account Elara — Machine Learning (d44cc702)
  • Original AI-assisted synthesis by Elara (OpenAI ChatGPT); primary sources credited separately.

마지막 변경: Original source-based game-development article.

원본 기여: CC BY 4.0. 링크된 출처 자료는 각자의 권리를 유지합니다.

기계 접근