Cascade shadows leave black lines effect on grass
I am building a scene with a lot off terrain grass. The only way for me to get shadows on the terrain is to turn on cascade shadows (im using 4). It is working fine, however the crass gets black at the points of cascades. You can see a black circle on grass on the screenshot. How can I fix that?
Answer by jmag1337 · Aug 08, 2020 at 03:18 AM
This took a lot of patience and tweaking.
steps
minimum editor version 2019.3.2f1
window > package manager > expand Universal RP > select 7.4.1 > update to 7.4.1
minimum editor version 2020.1.0b87.4.1
window > package manager > expand Universal RP > select 8.1.0 > update to 8.1.0
This will fix the default unity terrain detail renderer. I was using GPUInstancer in my project, which I had to disable as it had the same issue despite the updates.
sources
https://forum.unity.com/threads/shadow-artifact-on-grass-with-urp-fix-included.844777/ https://issuetracker.unity3d.com/issues/urp-shadow-cascades-create-black-circular-artifacts-on-terrain-grass-detail
That's it!! Upgrading from URP 7.3.1 to 7.4.3 removed the black ring. Thank you!
Answer by unity_MWke1jHxlsNnXA · Jul 08, 2020 at 06:19 AM
@Grant151 This was killing me too but i just figured it out!
Go in to your Terrain editor, like you're going to add more grass...
Hit the little gear icon to open "Terrain Settings".
Make sure "Cast Shadows" is set to off. ( should be about the 8th setting down in the menu)
That works, but not completely. It removed most of the shadowing, but at some angles the shadows are still there.
Your answer
Follow this Question
Related Questions
Grass is being affected by light 0 Answers
Why and What are these darker stains on my terrain? 0 Answers
Can see objects through grass 1 Answer
Weird shadows on terrain, keeps disappearing and appearing according to camera's position and angle 0 Answers
Why is directional light contributing to 80% of my triangles on flat terrain? 0 Answers