- Home /
Shadows popping in/out during runtime
Hi,
In my 3d game, I am having issues with the dynamic shadows "popping" in and out during the game's runtime. Example video here. (ignore the overdone post-processing)
I've seen this asked a couple of times in other posts, with the fix being to edit my camera's near clipping distance to a larger value or to increase the shadow distance setting. This has not worked for me. I've also followed a more detailed fix outlined here: https://forum.unity.com/threads/terrain-flickering-really-annoying-please-help.164936/
Here's the weird part, this does not happen in any premade demo scenes for asset packs. It only occurs when I use the terrain editor to place my trees/bushes in my scene. I believe this is because the demo scenes have their trees as actual gameobjects rather than tied to the terrain. Is there another fix to this shadow issue? Can I place my objects in the scene in a way similar to the terrain editor but have them display as full gameobjects?
Your answer
Follow this Question
Related Questions
why shadows dont appear until i get close to them with the camera? 1 Answer
My terrain shadow has a bug, shadow is stuck at another terrain. 0 Answers
(FIXED) How to remove Unity 5 shadow artifacts? 2 Answers
Why do shadows not cast on a certain texture, yet it casts on every other texture in my game? 1 Answer
Terrain heightmap isn't smooth 0 Answers