Parallax Mapping
A shader originally written to implement the parallax mapping effect. It was extended to include normal mapping and per pixel directional lighting. The effects are applied on a textured cube. There are many online sources on parallax mapping, but the ones that I found really useful are here and here.
In a nutshell:
- Windows application in C++
- Base program in OpenGL and pixel/vertex shaders in GLSL
- Uses the DevIL image loading library to load the texture, height and normal maps
Texture map |
Height map |
Normal map |
» Available downloads:
- Source code (VS2008 solution)
- Executable
- Read me
- Source code (VS2008 solution)
- Executable
- Read me