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"

Dynamic shadows issue

Hi all

I have some issue with dynamic shadows and dynamic directional light. Some white space shadows lines on meshes. Geometry is solid. How to fix this issue?

On the level using BP_Skydome with Moonlight.

alt text

Product Version: UE 4.8
Tags:
shad.png (324.7 kB)
more ▼

asked Sep 24 '15 at 01:36 PM in Using UE4

avatar image

Andy_rst
31 3 6 12

avatar image Andy_rst Sep 24 '15 at 04:37 PM

Solved:

If you are using skydome with moonlight, just adjust these settings for correct shadows: alt text

skydome.png (80.4 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello Andy_rst,

From your screenshot and your description you say that you have a scene with dynamically lit lighting. The building in your screenshot is one solid piece of geometry. I have a couple of troubleshoots for you that could fix what appears to be light leaking.

  1. Change your lightmap resolution from it's default settings to something like 1024. This can be achieved by double clicking on your building in your content browser. From this new window go to the details panel on the right side. Under the LOD0 section there is a roll out tab labeled Build settings.Click that and go to the option for Min Lighting Resolution. By default it should be 64. Change that to 1024.

  2. You can increase your indirect lighting smoothness. You can do this by going to your world settings. Under Lightmass> Lightmass settings there is an option for indirect lighting quality and indirect lighting bounces. Increasing these values will increase the indirect lighting quality by increasing the sampling done when calculating light in your scene. "I wouldn't recommend increasing the bounces past 3 or 4 or the quality past 4.0."

  3. If you are using a directional/light source and using Cascade shadow maps you can increase the distance of your cascade shadows. This calculates the distance form the camera that your shadows will cover. Also increasing the cascades will increase the number of cascades the view frustum will be split into. More cascades will result in better shadow resolution, but will increase rendering cost.

I suggest that you do these one at a time and document which one actually worked and not all at once. That way you can eliminate the guesswork and not add something you don't particularly need/want inside your project

Let me know if any of these troubleshoots help with your issue.

Thank you,

Logan

more ▼

answered Sep 24 '15 at 02:20 PM

avatar image Andy_rst Sep 24 '15 at 04:24 PM

It's moonlight (BP_Skydome) issue. Just with DirLight in the level - i can setup shadow bias for good effect. But i can't do this setup shadow bias for moonlight inside of BP_Skydome =(

(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