499 B
499 B
Simple Parallax Occlusion Mapping
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.