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

7 lines
507 B
Markdown
Raw Normal View History

2023-07-12 07:45:33 +00:00
# Simple Parallax Occlusion Mapping
2024-03-02 13:34:46 +00:00
![POM](https://git.montehaselino.de/servostar/Shadertoy-Shaders/raw/branch/main/Simple-Parallax-Occlusion-Mapping/overview.png)
2023-07-12 07:45:33 +00:00
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.