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. 

No baked shadows from stationary light?

Hi so up until now we've been working in a fully dynamic lighting environment for easier iteration time but now we're looking at moving to baked lighting for the sake of performance.

When I do a static lighting bake, everything is shadowed as expected. However when I bake stationary light the only way I get any actual shadows is from the cascade shadow maps. Gi is baked correctly but as far as I can see everything else is permanently lit and shadowed dynamically.

Looking at this, https://answers.unrealengine.com/questions/455554/stationary-lights-and-static-shadows.html I'm expecting results in line with the pillar on the left, but instead beyond the shadow cascade I get nothing. What could be going wrong here?

All of my meshes are set to static, and I have a static skylight and a stationary directional sunlight. I've just flipped all of my static meshes to stationary out of curiosity to see if that solved my problem but can provide screenshots after this build finishes if required.

Thanks, Elliot

Product Version: UE 4.16
Tags:
more ▼

asked Jan 06 '18 at 12:29 PM in Rendering

avatar image

elliotENGi
78 7 12 14

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

1 answer: sort voted first

Found what was causing it - No matter what is set to contribute to it, far shadow distance needs to be set to zero for static shadow maps to be shown by a stationary lights on static objects. The part in the linked post "The dynamic shadow casting distance will light everything within it's set distance dynamically. If an actor is set to use only static lighting it will not have any shadow casting until it is outside of the dynamic distance range." is what put me onto this. Of course because we used to be using full dynamic we had this distance set to non-zero and hence were getting non-default results from the setup.

more ▼

answered Jan 06 '18 at 12:48 PM

avatar image

elliotENGi
78 7 12 14

avatar image NickCrane Apr 03 '19 at 10:55 PM

Hey man, just dropping by to thank you for answering your own question! I was having the same issue, and forgot to dial the far shadow distance back down to 0. Your own answer reminded me I had previously set a distance... :)

(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