This is an old revision of the document!


Parallax Occlusion Mapping Material (TGorillaPOMMaterialSource)

The parallax occlusion mapping material TGorillaPOMMaterialSource is inherited from the TGorillaDefaultMaterialSource and supports multiple lights, fog, shadows and much more features.

Definition

Parallax occlusion mapping (POM) is an enhancement of the parallax mapping technique. Parallax occlusion mapping is used to procedurally create 3D definition in textured surfaces, using a displacement map (similar to a topography map) instead of through the generation of new geometry.[1] This allows developers of 3D rendering applications to add 3D complexity in textures, which correctly change relative to perspective and with self occlusion in real time (self-shadowing is additionally possible), without sacrificing the processor cycles required to create the same effect with geometry calculations.[2]

https://en.wikipedia.org/wiki/Parallax_occlusion_mapping

Why using POM

It is an alternative to the normal mapping material. Parallax occlusion mapping is able to create a more realistic look and depth in surface without creating new vertices.

Here a rendering with normal mapping:

And the same texture, normal map + height map rendered with parallax occlusion mapping: