#Can I get rid of this shadow clipping/flicker caused by directional light? Is it a bug?

1 messages · Page 1 of 1 (latest)

cursive carbon
#

It's a simple terrain and a directional light. If I look up and down, you see shadow shape on ground changes. It's not normal and unwanted.

I tried to increase shadow resolution, played with cascades, different Terrain etc., nothing made any tiny effect on this behavior. It's very easy to reproduce if you just make high hills on Terrain and place Directional light to create long shadows.

I'm using Unity 6.0 LTS

wheat iron
#

This is caused by the terrain lowering it's details from the light point of view when rendering the shadowmap.
You need to tweak the "Pixel Error" and "Minimum Detail Limit" in the terrain settings to fix this.

cursive carbon
cursive carbon
# hearty basin What do the docs say?

Higher levels increase the heightmap’s complexity. 0 means no limit on how simple the heightmap can be. Minimum Detail Limit and Maximum Complexity Limit have a combined value that is limited by Heightmap Resolution (refer to Texture Resolution below). Because of the limit of their combined value, they limit each other. This option isn’t available in the Terrain Toolbox window, which handles multiple tiles at once.

#

It doesn't talk about that thing that "most users will not need this". Or when and why one should modify it or not.