Stop shadow casting using material

I have a static mesh that I placed in my level, and I wanted to use material to hide the shadow of the static mesh. Is this possible?

The effect I wanted to achieve is a fade in and fade out effect. I wanted the shadow to cast along with the fade in and out effect.

You can use the shadow pass switch node.

To fade in, you can use dithering and adjust the shadow pass version. Use masked rather than transparent since transparency is bad for performance.
Dithering imitates transparency on opacity masked materials without the performance impact of true transparency

Resulting barely visible shadows:

1 Like

Thanks for your feedback. Some of my materials are already using the Opacity Mask, could you feedback on how I could add in the Shadow Pass Switch to the material?

1 Like

I just tested it out, it works great!! Thanks!! :smiley:

1 Like