7 lines
507 B
Markdown
7 lines
507 B
Markdown
# Simple Parallax Occlusion Mapping
|
|
![POM](https://git.montehaselino.de/servostar/Shadertoy-Shaders/raw/branch/main/Simple-Parallax-Occlusion-Mapping/overview.png)
|
|
|
|
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.
|