In have typical scene (terrain, 1024 heightmap, 4 textures, default settings - fantastic mode, 1x directional light, uninity 3.1), I see wierd rendering artefacts for close terrain:
I tried to change bias and rotation of light, but is is still there. It looks like shadows have some problem with terrain engine. I am using default settings, no custom shaders, ets…Probably bug in terrain shader?
No lightmaps, near plane 0,3, far plane 1000 (default settings of 3d person controller). This bug occurs even in the clear project. I import height map, put terrain texture, make directional light and its here. I am suspecting, that there is some problem in terrain rendering, if there is bigger height change between two height map neighbouring pixels.
Thanks, this could probably work. Our game is far from finished, so no problem. But I would like to know opinion of unity team, because this looks like shader/render/shadow bug.
It would be great if you could file a bug report for this (menu: Help > Report A Bug). It would certainly be worth investigating even if it turns out to have another explanation.
I have blocked pop3 and smtp ports, so this feature does not work, but i can try to make sample project and sent it to support directly, this can be easy reproduced.
Sure, baked lightning solves the problem. But we are planning dynamic day/night cycle with and so we need real time shadows (sun will move). I made this scene just like example, in real enviroment it can be MUCH stronger (picture in my first post) and no bias settings make big difference.
I tried deffered rendering, but no change. Anyway I dont see reason to use deffered renderer with 1 light (sun) in the scene.
Yes, I get this with terrain that casts dynamic shadows on itself. I imagine everybody does, and playing with the bias and camera clipping doesn’t fully fix the issue. Increasing the shadow bias to maximum is about the best I can do.
I tried the pine trail demo from showcase forums and had this same issue with it what looks like the shadow artifacting i had with unity 2.6 point lights.