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"

Stationary lights breaks shadows if source length > 100

Hi,

stationary point lights create wrong shadows on movable/stationary objects if light source length exceeds a value of 100 (after bake). See gif for a better understanding. Why is that so (by design or possibly a bug)?

alt text

Besides this, i still wonder how stationary lights create shadows. These shadows are obviously different from movable lights but both write to a shadow map. Where is there difference in detail? Did i understand it right, they are creating shadows by generating distance fields (even when distance fields are disabled in project) and use this volume information to render a shadow map (according to this: https://docs.unrealengine.com/en-US/Engine/Rendering/LightingAndShadows/LightMobility/StationaryLights )?

regards guys

Product Version: UE 4.21
Tags:
statshadow.gif (2.6 MB)
more ▼

asked Jan 11 '19 at 03:54 PM in Rendering

avatar image

Daniel Mø
1 3 4

avatar image Jacky Jan 11 '19 at 04:26 PM

Looks like shadow problem is due to the source intersecting with the mesh with 0 radius. It can handle some intersection but it becomes more obvious when more than a quarter of the light source is intersecting. Increasing the Source Radius can help. I'm not sure how stationary lights calculate shadows but the most obvious difference from static lights is that stationary lights cast dynamic shadows for dynamic(movable meshes or skeletal meshes) objects.

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

0 answers: sort voted first
Be the first one to answer this question
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