Shadows disappear from view when geometry is not in camera's view?
I'm trying to create my first 3D game and I'm having trouble setting up the lighting system, specifically with shadows. Whenever a piece of geometry that is casting a shadow disappears out of the camera's view, the shadow either disappears or distorts in a strange way. How do I get the environment's shadows to just stay put and not change based on where the camera is at? As seen in the images, the shadow from the large structure disappears when the player is not near it. Any help would be appreciated, thank you!