Wall Paint Peel plane meshes will not cast any shadows

I got the answer to this in the Answerhub! The problem was that my material, as it is a masked material it was casting no shadows. I had to set the material back to opaque and now it casts shadows. But now, if I want to still mask out the planes to achieve that torn apart effect, I should try something else…