- Home /
Forward rendering shadow flicker glitch (with video)
Hi, for a few days I was looking for my issue but unfortunately not found. This glitch seems to disappear when I switch from Forward to Deferred rendering, but on deferred rendering everything looks different, badly, I'll need a lot of time to make it look similar to my settings on forward rendering.
Here is video which shows my issue: https://www.youtube.com/watch?v=_sw9WlW4p4M
As you can see, not only shadows have this problem, grass also flickering with bush made of planes.
Forward rendering with gamma color space. It's not problem with camera near clip plane, it not removes this issue.
I need to fix this issue, this is crazy annoying when moving around :/
Other problem by the way: Also my billboard trees on scene aren't affected by light, so in night they are bright, only fog make this far away darker. When I remove all light from scene, ambients etc. they have still the same color. (grass is affected by light, only trees don't) And trees aren't affected by global fog shader, only by default fog.
Answer by MaciejKowalski · Dec 06, 2015 at 02:52 PM
You need to increase the size of the 'Detail Resolution Per Patch' in your terrain settings. Try keeping the 'Detail Resolution' and 'Detail Resolution Per Patch' multiples of each other, otherwise all the details (grass) will end up in different location.
So if your detail resolution is 1024, make the resolution per patch 64, or 128. If the detail resolution is 1000, make the resolution per patch 50, or 100.
This problem only happens with forward rendering when terrain details are within a shadow boundary, and only against terrain.
Your answer
Follow this Question
Related Questions
Terrain Grass Billboard Setting not working! 0 Answers
(FIXED) How to remove Unity 5 shadow artifacts? 2 Answers
Is it possible to make grass, like in the terrain as a gameobject? 0 Answers
Flickering grass on terrain 2 Answers
whats a good size for a standard terrain? Details, grass, trees disappear when zoomed out editing. 1 Answer