2D character not receiving or casting shadows

hello, I have a character with a 2D flipbook sprite and the material of ‘maskedlitsprite’ moving around a 3D world, however when he enters a shadow he doesn’t get a shadow casted on him or doesn’t cast a shadow himself, how do you do this?

Thanks