Dont forget this is shader not special for shadow, this is only projection texture mix with dynamic lighting (mtl_pTex1,mtl_pTex2 not mtl_pTex3). Try to use mtl_pTex2 you level must see beter, you can delete wrong placing shadow adding dynamic light. ps: Also be beter if you learn FFP