x

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"

How to force shadows to appear ?

Context

I'm planning to create a top-down lowpoly game. There wont be any static meshes, as the world will be proceduraly generated. This will be my first game using UE4, and I'm having troubles with shadows. As you may think, in my case, shadow are essential to the look of the game, and I don't think I'll have performances problem as it's a top-down.

Problem

Shadows disappear with distance, and I can't find a way to force displaying shadows.

Attempts to solve

  • I found some solutions, allowing to increase the distance at witch they disappear, but none allowing to forbid disappearance.

  • I tried using "far shadows" but couldn't make them work.

Product Version: UE 4.19
Tags:
more ▼

asked May 06 '18 at 09:37 AM in Rendering

avatar image

Dido11
3 1 4

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

2 answers: sort voted first

It is not a problem. It is the way, cascaded shadow maps work. Just increase dynamic shadow distance as required.

more ▼

answered May 06 '18 at 12:06 PM

avatar image

Deathrey
7.9k 130 31 293

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

When reducing distance, it seems to work fine, shadows wont show if I'm too far, but when I set it to a big distance it disappear before.

1 unit is 1 cm, right ?

If I set distance to 20000=200m, shadows disappear at something like 20m, and I can't increase that limit whatever distance I input. In fact, there seem to be another factor that limit shadow distance, but what ?

(Sun is set to movable, chair on copper too, everything else is untouched) alt text

more ▼

answered May 06 '18 at 03:59 PM

avatar image

Dido11
3 1 4

(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