Download

Decal stretching

I use decals for paint splatter in our game but the stretching effect on perpendicular faces are out of place. Is there a way to not render the stretched out parts? I use DBuffer decals since normal once don’t really work well with our lighting.

I tried using the PixelNormalWS node to determine if some part is perpendicular with the dot product but it seems this node is not working the way I expect it to for DBuffer decals.