Bump Mapping
We implemented a common bump mapping method that uses normal perturbation in tangent space. The world normal surface normal ist transformed into tangent space and is then perturbed according to a given height map and bump factor that specifies the amaount of the perturbation na dis then transformed back to world space.
Bump Mapping with Phong shader:
Bump Mapping with normal shader: