Parallax Occlusion Node Setup

This is a node setup for adding parallax occlusion mapping (POM) to materials in Blender. Parallax occlusion simulates 3D displacement on a flat surface without adding extra vertices, creating the illusion of depth using a texture. The main node group connects between your texture coordinates and image textures, reading from a designated heightmap to calculate the depth effect.

The setup supports both UV and Generated texture coordinates. It includes utility controls for stretching heightmap values, adjusting displacement strength, and correcting scale distortions. Additionally, a dedicated shadow node allows you to simulate shadows based on the heightmap depth by inputting light position data via object selection or driver variables. This shadow setup includes controls for softness, length, and threshold.