top of page

Parallax Mapping

Technologies: C++, OpenGL
Parallax Mapping gives the object the illusion of depth to a plane using a heightmap to alter the height of fragments. While the illusion is maintained if the plane is viewed directly from above, the plane will still look flat if viewed from the side as shown in the animation above. The textures used are shown below. Notice how the actual wooden plane is completely flat, while the displacement map is entirely responsible for the depth changes.
![]() Diffuse Map | ![]() Displacement Map |
---|
bottom of page