# Dynamic Lighting and Landscapes

**URL:** <https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414>\
**Category:** Rendering\
**Tags:** dynamic-lighting, cascade-shadow, unreal-engine, Landscape, Lighting, question\
**Created:** [May 18, 2018, 3:08pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414 "2018-05-18T15:08:55Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 3:08pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/1 "2018-05-18T15:08:55Z")

</div>

Hi there, I am noticing that lighting on landscapes looks pretty much unacceptable when using a dynamic directional light. It looks blocky as though the landscape is not a smoothed mesh. I have read that increasing my shadow bias helps the issue, but it makes everything else look terrible. Does anyone know if this is on the roadmap to be addressed, or if there is a fix? If I adjust the lighting to rid the landscape of these blocky shadows, nothing else is shaded properly.

 ![241442-fantasyproject-unreal-editor-2018-05-07-7-18-50-pm.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/7/027041d88d40b27df85f47f42ae5f0d266bfedc0.jpeg)

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [May 18, 2018, 6:50pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/2 "2018-05-18T18:50:38Z")

</div>

This is rather not lighting but correct landscape problem. I have dynamic light only and I use landscape and no problem like this.

Check on empty level, create landscape in editor, do simple sculpt and check - you have problems or not.

I think in you example, you have wrong landscape dimensions or/and bad sculpted terrain. In short words, you have to smooth more your terrain.

Check this guide [Landscape Technical Guide | Unreal Engine Documentation](https://docs.unrealengine.com/en-us/Engine/Landscape/TechnicalGuide#recommendedlandscapesizes) and all connected docs

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 6:58pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/3 "2018-05-18T18:58:34Z")

</div>

This landscape was brought in from world machine using the recommended tile sizes from that guide, and a 1 meter per pixel density. Should that be increased in detail to 0.5 meter per pixel or more?

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [May 18, 2018, 7:02pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/4 "2018-05-18T19:02:58Z")

</div>

I use different software and not remember scale, now working on other project. Did you follow this guide [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/World_Machine_to_Unreal_Engine_4_-_In_Depth_Guide) ?  
Anyway, try this test with landscape created in editor - better in clean project and you will see this is lighting or landscape dimensions.

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 7:17pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/5 "2018-05-18T19:17:47Z")

</div>

Fresh project, zero changes, made a landscape in the editor, sculpted a bit and added a material.

 ![241450-myproject-unreal-editor-2018-05-18-4-16-15-pm.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/a/61a6b9576a1b9925c6c36e0c81042b661588ffef.jpeg)

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [May 18, 2018, 7:26pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/6 "2018-05-18T19:26:33Z")

</div>

Let me check on my side. I have 4.19.2 but I had no issues like this with 4.18

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [May 18, 2018, 7:36pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/7 "2018-05-18T19:36:38Z")

</div>

This is third person template level, landscape created with default settings:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/d/7dd7fecee533b003035825d6bf4359a73ee96976.jpeg)

Looks smooth

I use here default settings from third person level template, just I use dynamic light only. Make sure you have all set as movable - light, sky etc and you have disabled **Static shadow** everywhere.

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 7:43pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/8 "2018-05-18T19:43:49Z")

</div>

interesting. I’ll update the engine and try that. If it’s not that, I will have to do some digging

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [May 18, 2018, 7:48pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/9 "2018-05-18T19:48:01Z")

</div>

Hard to say, maybe gpu? Or other project settings. Maybe you changed something with lod?

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 7:52pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/10 "2018-05-18T19:52:14Z")

</div>

gpu is nvidia gtx 1080ti, and I haven’t touched the engine config files. project settings are all fresh in my test (first person template). The issue goes away at a distance due to cascaded shadow maps, but it would be nice to leave them so that I get detail up close. Try setting the view mode to lighting only, go closer, and see if you notice it there

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 7:55pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/11 "2018-05-18T19:55:31Z")

</div>

Oh right and it is much more apparent if you angle the directional light more instead of having it mostly shining straight down

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [May 18, 2018, 8:04pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/12 "2018-05-18T20:04:04Z")

</div>

I have easy solution for you - we can exchange our gpu - I have 550Ti 😃

Ok, I did another test and I see similar problems:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/6/236b31f94339ef16d1ccbad75af96a16f6c2ad6e.jpeg)

With that detailed sculpting, landscape need bigger resolution, smaller parts. I created my landscape some time ago and I had a lot of test to get best result - mainly resolution.

But you must be ready for some compromises, because maybe you need less details or bigger landscape resolution. But finally, triangles are not that important and with landscape size I had never problem even on max settings.

Working with landscape remember, what you have from World Machine or other software is not final terrain mostly. In my case, I had good resolution for Hills etc, but I had to increase it, because many problems with roads for example, what I created later.

You can compare your settings with Landscape Mountains project, but I don’t know your world size and game type - fps, tps or flying sim, car game.

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 8:06pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/13 "2018-05-18T20:06:50Z")

</div>

Ok thanks for your help, and I’m glad that you were also able to reproduce it. As for exchanging graphics cards, I’m not too sure about that. Maybe if I win the lottery or something because I’m broke after buying that beast haha!

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [May 18, 2018, 8:08pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/14 "2018-05-18T20:08:17Z")

</div>

Well, I understand, but nice try! 😃

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 8:12pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/15 "2018-05-18T20:12:48Z")

</div>

haha no harm in trying

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [May 18, 2018, 8:31pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/16 "2018-05-18T20:31:40Z")

</div>

[There is a forum thread with all details about hows and whys of the issue.](https://forums.unrealengine.com/unreal-engine/feedback-for-epic/106544-dynamic-shadows-artifacts)

Long story short, your actions should be aimed at increasing landscape density while also reducing shadow filter size, supplemented by increasing shadow bias when practicable.

---

<div class="post-metadata">

**Author:** ![Gampersnaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Post date:** [May 18, 2018, 8:47pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-and-landscapes/425414/17 "2018-05-18T20:47:25Z")

</div>

Thanks for the info! Looks like is just needs some good old tweaking and compromises.
