Parallax Occlusion Mapping and POM Rooms in Blender

Greetings Everyone!
I would like to introduce all of you to the progress I made
regarding parallax occlusion mapping (short POM).

For those who are not familiar with parallax occlusion mapping, its a third way of displaying height of a material, next to normal mapping and physical displacement.
Instead of displacing vertices, the texture coordinates are getting warped along the heightmap. This all happens in the shader and not physically. Following this, its cheaper than physical displacement, but more expensive than plane normal mapping.

Here are some examples for comparison (Left: Normal Map, Right: POM)

So how does it work?

Key for it all is the Incoming Output of the Geometry Node:


Adding or Subtracting its output value with the Generated Texture Coordinates causes an effect as if
the texture is getting displaced along the normal of a surface.

This already can be used for some interesting holo effects:

Now all that needs to be done is multiplying this with our heightmap:

Repeat about 32x more times:

et voilà! We made ourselves a neat little POM Nodesetup.

You can now either recreate it by yourself or you can download it for FREE from my Gumroad Page.
There I added a few more extras, such as border masking. If you are happy with it, I wouldnt mind a small donation as well.

Side Note: It only works with generated texture coordinates, not so much with UV coordinates, due to its nature.

Now onto another Topic: Parallax Occlusion Mapped ROOMS

Thats right, the method I just showed you works nice with textures but its only a sort of stretching, nothing that really goes into depth. How nice would it be to use a similar method to create three dimensional rooms out of two dimensional planes with maximum 4 Vertices?

The Twitter User @Magryllia came up with a solution to this some time ago which Luis Cherubini presented in a Video on his channel two years ago:

This however was limited to a single UV unwrapped plane, which then could be stuck behind windows.
So I went ahead, downloaded the source file and created this monster out of it:

But it does exactly what its supposed to do:

Now while the inside is quite messy, the outside of this node group is maybe not as messy, but not that much smaller:

First of all, the setup works with both, UV and Generated textures, however those need to be manually switched, since they work with different methods.

Another important thing before starting is to set the object dimensions, as those can cause stretching effects in the rooms if not done properly.
The Object Dimensions can be found in the Item Tab while having the object selected:

Now the room count can be setted, the size in x,y and z direction as well the way the texture for each wall is supposed to be processed.

I also included a fake light setup for the rooms inside, all together with a fake ao setup:


And a layer system which contains three layers, which can be arranged individually inside of the room, allowing for layered furniture etc.

The Group Outputs:

  • Coordinates for the textures on the wall

  • Masks for each wall, ceiling and floor.

  • A light pass to multiply with an emissive node, used for lit rooms

  • A random mask output, for random light intensity, light color or random interior. All up to you :smiley:

  • Object Normals, giving each wall the normals of the object itself.

  • Room Normals, Normals if treating the rooms as an object itself.

  • Coordinates for all the three additional layers

This as well can be downloaded for free on Gumroad, if you like it you can also consider supporting me

If you guys have questions to any of those two topics, just let me know. I would also be happy about you guys feedback :smiley:


Great… thanks for share…
Huh this is lot of nodes, too much for me… my brain hurts :smiley:

1 Like

Was a lot of trial and error. I guess for the interior mapping I also dont know exactly anymore what’s doing what xD

1 Like

Is this like Octane’s Texture Displacement?

how can i soften the depth effect?

I tried to save the pom tree with node kit without success.
is there any specific way to save with node kit?


Is there a way to generator this effect but for exteriors? like windows leading outside?

something like that, but without having to place a giant sphere and match it’s dimension with the window its self.

I want to do something like this but without the image warp at the edges

do anyone know whether its possible?


That is probably the best and easiest way to do it.

@MrRolord Hi, wanted to say thank you for making the tutorial on this. I am curious if with 4.0, we might be able to get this POM to work with uvs? Maybe with geometry nodes, we can get uv support?

1 Like

Hey, two and a half years later and I am back. That’s how long it took me to figure out a solution to my UV problem…

There, that’s it: Transform the incoming vector to uv tangent space. That simple.
I wonder why it took me so long to figure that out :upside_down_face:
Anyways, if you want to download the newest version, here is the link to my Gumroad page: POM
@melvi enjoy :grin:


It’s always a pleasure (and inspiration) to see when people finally get a little closer to their wanted solutions… :wink:

Thanks a ton :slightly_smiling_face:

Good evening everyone.
You might not believe it but I’m still updating both the parallax occlusion mapping node setup and the parallax mapped rooms setup.

The most exiting news?
Rooms on surfaces that aren’t 90 degrees to each other now look properly and display perpendicular to the surface.

Also I added cube map support and a simplified UI for Blender 4.2

For the Parallax Occlusion Node Setup I’ve implemented a fake shadow function that lets you simulate shadows from a pre-defined light source, making the effect look even better.

1 Like