POM on Mesh Decals

Hi,

I’m having troubles using POM in mesh decals.

The result is correct when I use it in a decal projector. But the same shader applied to mesh decals doesn’t render correctly.

The result of mesh decal on the right without POM:

The result of mesh decal on the right with POM:

As you can see I use the basic POM setup described in the documentation:

132353-pomdecalshaderdomain.png

Do you have a work around to render that properly?

And also, why can’t I write into the Metallic and the Pixel Depth Offset with the Dbuffer translucent blend modes?

Thanks for your answers.

For whoever has this problem and stumbles on this - use mesh decals instead of projecting the decal.
And bare in mind - POM doesn’t work well on edges only on flat surfaces.