Decal- slope angle testing

Hi all,

Im wondering if there is a way to make decals not project on vertical faces? I am trying to place around some decals but Im getting very obvious stretching issues on vertical angles.
Is there something I can do material wise to only project on upwards facing normals? something similar to a snow shader with angle falloff maybe?

Reducing the decals X axis scale does reduce how far the decal can project, but it doesnt completely solve my issue.


This answer shows how to use the surface normal in a decal Decals and Normals - Rendering - Epic Developer Community Forums

You can test the normal of the surface your decal’s projected on and if it’s horizontal, set the opacity of your decal to 0.