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"

Distance Field Shadows go through meshes

Hey guys, I have a problem.

I have some movable meshes in my scene that I enabled Distance Field Shadows for them, but the shadows pass through other meshes.

Shadow on the other side of the wall: https://i.imgur.com/YLPPaiu.png Object: https://i.imgur.com/OZBvnks.png

Is this fixable at all?

Thanks!

Product Version: UE 4.21
Tags:
more ▼

asked Jan 22 '19 at 08:56 PM in Rendering

avatar image

RisingUpGames
1 1 1

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

1 answer: sort voted first

Double click the mesh in content browser and Check "Generate distance field as if Two-Sided". Do it for the LODs too (if any).

more ▼

answered Jan 23 '19 at 01:35 AM

avatar image

Chris.Kiser
6 2 3

avatar image RisingUpGames Jan 23 '19 at 02:39 AM

Thanks but look what happens when I do it https://www.youtube.com/watch?v=kJAkrk6PQqY&feature=youtu.be

It's a movable actor with a Static Mesh set to movable.

avatar image RisingUpGames Jan 23 '19 at 02:39 AM

Oh, it's you Chris :D Sorry, didn't see the name until I posted my comment.

avatar image Jacky Jan 23 '19 at 03:48 AM

Try tweaking Occlusion Max Distance parameter in the sky light. If it doesnt work for you you can import another mesh(a thinner box) and add it as Dist. Field Replacement Mesh in static mesh editor.

(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