Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Directional light isn't casting any shadows at distance [4.20]

I tried almost everything..set scalability settings to Cinematic and Epic, Turned on Distance Field Shadows, Ray traced shadows , changed all distances to 2000000uu [20km] I didn't bake lighting beacuse of size of the landscape...about 40 km of side of the square. I saw tutorials like that one https://www.youtube.com/watch?v=eqJa2zIwgZU Which showed me how to set dynamic light on level without baking lighting and on 4.19.2 it's working well... I used Directional light with stationary and movable setting....and Movable is "cutting of" shadows closer to origin [more quickly} than stationary setting...

Always I don't see any shadows at the distance more than 15 km from Origin in 4.20.3...But on 4.19.2 it's working everytime , no matter what distance viewport or camera from origin is...

I even created level in 4.19.2 [everyting was ok] and then I opened the same level without changing any option in 4.20.3 and then I didn't saw any shadows at the distance more than 15 km from level origin... What I am doing wrong...it's hard coded to engine...or what...

4.20.3 no shadows maps or light maps...idk maybe light chunks not created.... https://imgur.com/a/LrA2isU

Cube casting shadows before reach the distance further than 15 km from origin https://imgur.com/a/XxdvzXk

And the same cube further than the distance of 15 km from origin https://imgur.com/a/nmHfFEt

this issue or error applies to all shadows, not just plants or static mesh shadows on the landscape... artefacts are appearing ,too

Product Version: UE 4.20
more ▼

asked Oct 15 '18 at 11:13 AM in Rendering

avatar image

11 3 3

avatar image TheSubZer0 Jan 02 '19 at 08:38 PM

Lighting objects such as: directional light, light from the sky must be at point 0 of X Y and Z of the origin at the world.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Step 1: Write down all the settings of your directional light on a block of text or paper.

2nd Create a new directional light, drag from the left menu to the viewing door (do not double your directional light), the location of the directional light should be 0 to x, y and z and the size should be the default.

3rd Apply all the settings of the old directional light to the new one and delete the old one. 4rd In the project settings go to the tab: General settings and change the setting: Clip plan next to 20

Try to use my directional light settings and on my level

If it doesn't work the only way is to create a new level and copy all the settings from the old one, but you must create the lighting manually (don't copy from the previous level to the new one). This is because if you created a level in an old version of the graphics engine and upgraded the project to a new version or made too many changes to the directional light it causes a bug to stop working.

alt text

alt text

alt text

alt text

alt text

setting1.jpg (202.2 kB)
setting2.jpg (244.4 kB)
setting3.jpg (243.6 kB)
levelsetting1.jpg (218.9 kB)
settinglevel2.jpg (244.6 kB)
more ▼

answered Jan 02 '19 at 09:43 PM

avatar image

114 8 13 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question