How to prevent masked material affect shadow rendering from dynamic light setup?

Hello, is there anyway to prevent the masked part of the material affect the shadows of the object? Basically i want the object to cast the shadow as if it were completely opaque