Shadertoy-Shaders/Simple-Parallax-Occlusion-M.../README.md

507 B

Simple Parallax Occlusion Mapping

POM

Parallax Occlusion Mapping is a way of adding 3D bumps to a flat surface, based on a heightmap. This does not actually displace the geometry but performs a ray casting algorithm on the surface which acts a "portal" to a more detailed surface. This Implememtation is a basic first draft and assumes the surface normal to a constant up vector.