Reducing light sight range?
I've got a bit of an odd problem with a cave system that I'm making. The outside of the cave has night and day and weather, and to stop light from seeping into caves I've been making cube walls around the outside of the caves set to "Lighting- Cast Shadows: Shadows Only". This has stopped outside light from leaking through caves just fine, only the scale of this cave is apparently so large that it's creating a different issue.
I'll include a screenshot below, but on the far edges of the cave daylight seeps through like there's no box around the cave, but as you get closer the light disappears.
It's not an issue with the cave wall box being culled from distance, even when I compress the box down to a small size for viewing, just the far sides of the cave from the player is illuminated. As the PC goes from one side to the other the light is successfully blocked, just whatever corner is farther from the player is getting daylight.
Answer by goldwyn11 · Jul 18, 2020 at 04:25 AM
Someone had a good idea on a different forum, where I just set up a trigger to turn off the outside lighting as I enter the cave or turn it on as I exit, which solves the problem pretty easily.
Your answer
Follow this Question
Related Questions
Hard lightseams between meshes 0 Answers
Fix Unnecassary Shadows? 0 Answers
shadow causing ridiculous frame rates and draw calls! 1 Answer
Soft shadow is not soft at all 0 Answers
Make directional light not cast shadows of objects behind it 1 Answer