# Is there is way to Combine Absolute World Position with Parallex Occlusion Mapping ?

**URL:** <https://forums.unrealengine.com/t/is-there-is-way-to-combine-absolute-world-position-with-parallex-occlusion-mapping/397064>\
**Category:** Rendering\
**Tags:** parallax, mapping, unreal-engine, question\
**Created:** [July 6, 2017, 2:43pm UTC](https://forums.unrealengine.com/t/is-there-is-way-to-combine-absolute-world-position-with-parallex-occlusion-mapping/397064 "2017-07-06T14:43:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MohammedEg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MohammedEg](https://forums.unrealengine.com/u/MohammedEg)\
**Post date:** [July 6, 2017, 2:43pm UTC](https://forums.unrealengine.com/t/is-there-is-way-to-combine-absolute-world-position-with-parallex-occlusion-mapping/397064/1 "2017-07-06T14:43:42Z")

</div>

I am trying to develop a material that have Absolute World Position feature with adding the height map ,

or even adding Parallax Occlusion Mapping with this Material Function

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/4/8f4a65672149da158156d9e2a3f791a41eb59807.jpeg "[UE4] World Aligned Texture/Normal with Rotation and offset.") ](https://www.youtube.com/watch?v=obRHkEkE8tc)

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [July 9, 2017, 10:54am UTC](https://forums.unrealengine.com/t/is-there-is-way-to-combine-absolute-world-position-with-parallex-occlusion-mapping/397064/2 "2017-07-09T10:54:12Z")

</div>

It is possible, though from performance standpoint, is extremely impractical.

You would need to calculate parallax occlusion mapping 3 times, and additionally change offset direction based on if the projection is positive or negative. If you are new to shader authoring,it might be better to achieve something more simple at first.

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [July 10, 2017, 7:05pm UTC](https://forums.unrealengine.com/t/is-there-is-way-to-combine-absolute-world-position-with-parallex-occlusion-mapping/397064/3 "2017-07-10T19:05:12Z")

</div>

Not to mention that question (probably by OP) was asked on the thread I made about my worldPos function, and I ended up not doing it because the POM mat-function is a clusterf… of inproper wiring and other stuff.

Yes there is a way, no its not worth my time unless I get paid 😛
