[Bug] Static Shadows from Masked Materials

Casting static shadows from a Blend Mode Masked material does not take into account the alpha I tried using both stationary and static point lights and building on production and preview.

This was a bug and is fixed now. Thanks for pointing it out. In the meanwhile, you can work around by simply hooking up your opacity mask connection to the opacity input as well. It won’t have any effect on the main rendering (masked uses opacitymask, not opacity) but it will trick the lightmass exporter into doing the right thing.

You can cast shadows based on the material opacity by enabling the setting “Cast Shadow as Masked” inside the properties of your material :

I tried that and it still didn’t work. Same results as the screenshot. I think its broken, I’ll add the bug tag.

If i change the material to blend mode translucent and turn on the Cast shadow as masked I get the proper static shadowing.

18920-