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"

Shadows disappear more than 20 km away in the world

The shadows of the objects disappear when crossing a radius of a little more than 20 km of distance. I know it's a very long distance, but would it be possible to increase that limit? alt text alt text alt text

Product Version: UE 4.20
1.png (1.5 MB)
2.png (1.6 MB)
3.png (72.8 kB)
more ▼

asked Oct 24 '18 at 11:41 AM in Rendering

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first


Just set a new value for World Origin Location.

more ▼

answered Oct 30 '18 at 12:44 AM

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left

I'm slightly concerned about the scale of your scene as a whole. Are these objects centered? Is this a place people would see or be able to get to? Although I'm not sure how to make shadows on something that far away as it seems there is just a distance where things will no longer have shadows, I do at least have one work around!

What you can do is go into your static mesh and increase the "Positive Bound Extension" and "Negative Bound Extension." This would basically make the object large enough to be within the standard distances without actually being positioned there. This, however, is not an ideal solution as you would have a lot of objects being rendered/casting shadows when they are far enough away to not matter, and shouldn't be. You may want to look into your general scale/positioning situation before doing this.

more ▼

answered Oct 26 '18 at 04:16 PM

Evan.Doody (suspended)
avatar image Ike1234 Oct 27 '18 at 04:55 PM

Thanks for answering

But I wonder why the shadows disappear when the object gets so far away from 0.0.0.

This only happens with directional light. The point light continues to run. If you have an open project place two objects at a position greater than 21km and you will see that the shadows do not work. Is this a limitation, or is it to increase some value that I may have shadow over this distance?

(comments are locked)
10|2000 characters needed characters left

Thanks for the answer.

English is not my native tongue. I'm sorry if the text looks a bit tin.

This is a game with 2.5D vision where I launch a character from a cannon always in the same direction. For him to go around the world I need at least 100 km away, so he teleports himself to -100 km taking advantage of the other side of the world. The problem is that directional light is not projecting shadows after 20km of diatance. Directional light works well.

alt text alt text alt text

If you change the value In a dynamic Shadow Cascades from 4 to 0 the shadows reappear, but their quality is very poor. alt text

Would that be a motor limitation, a directional light bug? Is there a value that I can change so that the shadows are projected over the 20km radius, or am I forgetting something?

4.png (682.7 kB)
5.png (1.6 MB)
6.png (1.4 MB)
7.png (1.4 MB)
more ▼

answered Oct 27 '18 at 08:24 AM

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left
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