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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Shadows appear in preview but not after lighting build

Beginner here, having problems when I build the lighting. I'm using free low poly assets (https://gumroad.com/l/fourseasons and http://www.kenney.nl/assets/nature-pack) - the problem is some assets cast shadows and others don't. When I move the ones that don't cast shadows in the preview their shadows appear but disappear after light build, although some remain as a weird blob. alt text

This shot is from when I move stuff around in the preview alt text

And this is after I build the lighting -

alt text

Any ideas?

Product Version: UE 4.9
Tags:
blob.png (995.6 kB)
before1.png (963.1 kB)
after.png (943.3 kB)
more ▼

asked Oct 24 '15 at 02:53 PM in Using UE4

avatar image

Donalf
51 8 14 22

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

1 answer: sort voted first

You need to increase the lightmap resolution of your meshes. More info here:

https://wiki.unrealengine.com/LightingTroubleshootingGuide

more ▼

answered Oct 24 '15 at 02:55 PM

avatar image

Jacky
16.8k 671 167 676

avatar image Donalf Oct 24 '15 at 03:40 PM

Thanks for the reply Jacky :) I increased the lightmap resolution of this tree to 1024 but the shadow still looks pretty crappy. alt text

Is there an upper resolution limit that I should expect to see a performance hit or can I just keep increasing the resolution for all the affected assets until the shadows look more like the preview? alt text

Why does a lightmap resolution of 64 for UE4's included assets create a high quality shadow in the same scene as with the other assets I've imported? alt text

shadow 1.png (871.8 kB)
shadow 2.png (843.0 kB)
chair.png (973.4 kB)
avatar image Jacky Oct 24 '15 at 03:48 PM

You need to increase the resolution of the mesh that is receiving the shadows, which is the ground mesh in your case. 128 would be fine for the tree but the ground would probably need 1024. Basically the larger the mesh, the higher the resolution needed for nice looking shadows. Of course except for situations like a huge mesh being placed at a location where the player wont get too close, in that case you can go lower.

avatar image Donalf Oct 24 '15 at 03:55 PM

That's solved it, thanks so much :)

(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