While [[Bump Mapping]] only adds basic hints for lighting calculations, and [[Displacement Mapping]] moves vertices in a mesh, [[Parallax Mapping]] stretches the texture to better simulate depth and parallax which can simulate a surface having more vertices than it actual does.
# Types
## Basic Parallax Mapping
## Steep Parallax Mapping
## Parallax Occlusion Mapping
## Iterative Parallax Mapping
## Contact Refinement Parallax Mapping
## Relief Mapping
# Features
## Self-Shadowing
This is something that needs to be implemented as part of the shader. This means the general lighting solution might layer oddly, if the shader doesn't expect multiple lights or their colors.
## Pancaking
An undesirable side effect of many approaches to parallax mapping which creates artifacts
# References
```cardlink
url: https://youtu.be/sUnRkTXTuGI
title: "Contact Refinement Parallax Mapping showcased in Unity 2018"
description: "Quick turntable of the Contact Refinement Parallax Mapping technique I developed. This runs on the highest settings (128 raytracing steps at most), but depen..."
host: youtu.be
favicon: https://www.youtube.com/s/desktop/6561f2f9/img/favicon_32x32.png
image: https://i.ytimg.com/vi/sUnRkTXTuGI/maxresdefault.jpg
```
```cardlink
url: https://youtu.be/8hThP-Yni_o
title: "Parallax Occlusion Optimization - Advanced Materials - Episode 15"
description: "Parallax occlusion mapping is a great way to add shape and detail to surfaces. It's much more convincing than normal mapping, and works better than offset o..."
host: youtu.be
favicon: https://www.youtube.com/s/desktop/6561f2f9/img/favicon_32x32.png
image: https://i.ytimg.com/vi/8hThP-Yni_o/maxresdefault.jpg
```
- [[Parallax Mapped Bullet Holes]]
- [Oliveira's Relief Mapping Site](https://www.inf.ufrgs.br/~oliveira/RTM.html)
## Contact Refinement
- https://andreariccardi.artstation.com/blog/3VPo/a-new-approach-for-parallax-mapping-presenting-the-contact-refinement-parallax-mapping-technique
- https://andreariccardi.artstation.com/projects/rRB2ym?album_id=1580814
## [[Godot]] Shaders
See also: [[Godot - Shaders]]
- https://godotshaders.com/shader/contact-refinement-parallax-mapping/
- https://godotshaders.com/shader/parallax-occlusion-mapping-with-self-shadowing/
- https://godotshaders.com/shader/iterative-parallax-mapping/