Weird black blotches with masked material

Yeah, the issue is with the lighting itself. I thought it may be related with how the planes were aligned, but I tried various setups (even tried Zfighting), but the issue is still there.

Screenshot: