Overview
Parallax occlusion mapping simulates depth in a material by stepping along the view ray through a height map and using the hit point for texture lookup.
Offsets texture coordinates by ray-marching through a height field on the surface.
Compact metadata for implementation and discovery.
Parallax occlusion mapping simulates depth in a material by stepping along the view ray through a height map and using the hit point for texture lookup.
Quick facts
Runtime and memory behavior at a glance.
Best
O(steps)
Average
O(pixels * steps)
Worst
O(pixels * steps)
Space
O(1)
uv_next = uv + view_xy * step_sizeMoves texture coordinates along the projected view direction.
Show rays, samples, buffers, or shading terms that contribute to the final pixel.
Parallax Occlusion Mapping should be used with the assumptions and tradeoffs of surface Detail in mind.
What each reference supports for this entry.
Reference for practical parallax occlusion mapping with approximate soft shadows.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Parallax occlusion mapping adds view-dependent depth effects beyond normal perturbation.
It often marches through a height field along a view direction.