Shadowing artifacts on landscape after baking lights
I get these weird black aliased lines in places where meshes cross the terrain. The problem is present only with baked lighting, on dynamic everything works like it's supposed to.
I use a stationary directional light. Skylight is also present in the scene, and it's set to stationary as well. I've figured this might be a resolution problem, so I've tried to gradually increase static lighting resolution on my landscape. That didn't seem to make any difference. I've upped the parameter to as much as 10, but the results are mostly the same as they had been with the resolution set to 1.
I've also tried tweaking other lightmass parameters - on the landscape actor, the lights, meshes and the lightmass itself. All to no luck.
It may be worth noting that I don't get this problem when the stones and landscape receive direct light. (second screenshot)
What am I missing here?
Any help would be greatly appreciated.
asked Sep 04 '17 at 07:06 PM in Rendering
I have just found out what this issue had been. My landscape material uses a slope-based mask, a triplanar projection and displacement. The black lines were a result of displacement map elevating the landscape and thus interfering with the lightmaps for the terrain. (At least i guess so). Anyway to get rid of this I had to turn off displacement.
Hope this helps, if someone faces a similar problem.
answered Sep 28 '17 at 07:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here