Stop Directional Light from Shining Through Meshes

Thanks. I had kind of started thinking that turning off the directional light when underground would be the easiest solution, I just wanted to check here first for any setting(s) I may be missing.