Unity3D Real Time Shadow Problem - Circular pattern on ground

Hi,

I’m using Unity3D real time shadow and it gives me this strange circular pattern on the ground (image attached). Why is this happen and how to solve it?

Thanks!

1280841--57740--$realtime-shadow-problem.PNG

What are you doing that might confuse the lighting system?

Do you have two models loaded on top of each others, does your surfaces contain two polygons with very short distances between them?

Be aware that if you set high maxdistance and low mindistance you will be prone to getting z-buffer fighting, which might be what is going on here.

I need more than a picture to help you with more than generic advice.

That normally happens when the zBuffer for the lightning has to fit too deep a view. So lower the max distance of realtime shadows. Also, set the Cascades to 4, which will divide the distance into several (4) shadowmap textures, which will make the zBuffer not having to fit such a deep view into one buffer. Lastly, the higher the bias of the shadows (set on the light itself, under shadows), the better. I normally have it on 0.05

Thanks for the input guys,

For unknown reason I can’t reproduce that circular pattern anymore. It somehow just fixed. I don’t remember what I did.

Will try your suggestions whenever I have this problem again.

Thanks!