POM Decals

Hey guys,

I’m a wee bit puzzled with creating POM decals in UE4, I’m transferring my workflow over from Cryengine where I use tileable textures and POM decals for the details etc.
I’ve got my basic master shader setup for my material instances, have all the correct maps baked out, diff,height,normal etc. and POM is actually working fine, no problems what so ever there.
But when I try and enable the opacity it is refusing to work. My question is can UE4 actually handle POM in decal/translucent form?

My knowledge of the node based shader system is poor and I don’t really know what I’m doing properly haha.

Any help at all would be a real help.

Thanks.

80460ef47cdd18e323eaf863de390dff1de6cbc9.jpeg

c75c32ce7776521d4700a9a09040c83e4a9de682.jpeg

aa3372b6e4cbd57fb2a64115cdd49b5333856d54.jpeg

861499b61fc258d43f14c243104f2a77da4d12ca.jpeg

41720539bb79158978a58f0a80c8c41495ccce18.jpeg

What does it look like? My first guess is that the bumpoffset node is doing some kind of tangent transform that is invalid for decals. If that is so you could just roll your own bumpoffset and supply manual vectors.

Just a caveat, but bumpoffset is very different from POM. POM means parallax occlusion mapping which means ray tracing and shadow tracing.

Bumpoffset has no parallax correction since it assumes all pixels will be in the same Z plane, and will have artifacts on steep slopes.