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"

Shadows disappear for static and stationary light

Hey Guys, I've a very simple level for the purpose of testing lighting with a simple cube mesh and a directional light. Both are set to Static.

Whenever I move the cube around the level, the preview shadow is just shows up fine. But, as soon as I build the light there isn't any shadow anymore.

Before Light Build

alt text

After Light Build

alt text

If I set directional light to movable. The shadow shows up just fine.

As this is a mobile game, making everything dynamic is not gonna work for me.

Why is this happening? How can I solve this?

Thank You.

[EDIT] Same result with point light and spot light. But in an entirely new project everything works as expected. So, something might be wrong with my project. Can't spot the problem though.

Product Version: UE 4.10
Tags:
more ▼

asked Mar 31 '16 at 09:05 AM in Rendering

avatar image

Amaresh
208 29 35 44

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Check your lightmap resolution on the plane.

more ▼

answered Mar 31 '16 at 11:23 AM

avatar image

kurylo3d
464 45 80 104

avatar image Amaresh Mar 31 '16 at 12:30 PM

@kurylo3d Thanks man... that worked. Somehow it was set to 4 and I changed it to 64 and the shadows work.

(comments are locked)
10|2000 characters needed characters left
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