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"

Stationary Directional Light not lighting objects

Hi guys! As suggested, I have an issue with my meshes not catching light from the Stationary Directional Light. Here's what the scene looks like now alt text

I searched around and checked some settings that might cause this problem. My meshes already have a second UV set and the Light map coordinate index are set to 1. The light map resolution is also increased to 128 to see if that would solve the problem. alt text

However the UE4 mannequins are the only thing catching light. So I think it's safe to say the problem is probably with my material or mesh settings. But I'm not sure what! alt text

Another thing I checked was my Engine Scalability options but they are all at Epic. (Also, my light bake quality is High) alt text

I tried some debugging myself and turning off 'Cast Shadows' for the Light actually helped. alt text It led me to check on my HDRI set-up. Which is a Editor Sphere with an Unlit material with emissive color but I could not find anything there that might cause this problem. There's also a Stationary Skylight in this level set to capture scene. I have also placed a lightmass importance volume in the scene.

If I add an additional point light, the light would work just fine but the directional light is still not lighting the scene properly.

And I am out of ideas! Please, if anyone has anything or need anymore information about the scene so as to better hone in on the problem, feel free to let me know. I have tried everything I can think of and it doesn't seem to be helping. Thank you in advance!

Product Version: UE 4.16
1.jpg (890.7 kB)
4.jpg (1.1 MB)
3.jpg (848.7 kB)
more ▼

asked Jun 11 '17 at 09:48 AM in Rendering

avatar image

1 1 2 2

avatar image yongsart Jun 11 '17 at 09:55 AM

Some additional images:

The scene with point light And the scene in the Unlit view. alt text

Do suggest if you have any slightest idea what's going on! This is bugging me for the whole day! Thanks!

pointlight.jpg (861.0 kB)
unlit.jpg (1.3 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

First, check you auto exposure settings and make sure it is active. Try to decrease min brightness and check it again (This makes the camera to read more lighting data from the darker objects of the scene).

Secondly, try to increase the sky light intensity and see if it helps.

Thirdly, an issue I can see is that your scene components are so dark. It makes them to capture less light. In fact the darker an object is, more lighting data will be missed. So try to increase your scene components' brightness. To check how dark your scene components are, go to view mode > buffer visualization > base color. You can also check your scene histogram by typing 'ShowFlag.VisualizeHDR 1' inside the console command. More lighting data accumulated to the left, more lighting data are missing. The same thing goes for the right side. There is no any exact solution to the histogram (where its pointer should be), its a little advanced to learn how to work with histograms, but try to keep lighting data at the middle (inside an open scene). Always try to set scene components to be equally bright. Cuz you can then by playing with post processing settings get what you want from the scene. But if you set your scene components so dark, then post processing can't help you with getting correct lighting data from the scene.

I hope one of the mentioned issues can help you.


more ▼

answered Jun 11 '17 at 10:11 AM

avatar image

1k 29 14 46

avatar image yongsart Jun 11 '17 at 11:08 AM

Thank you very much for your reply! I really appreciate it.

I tried tweaking the parameters that you mentioned but to no avail. :( I actually have set up my materials so I can brighten the textures, but brightening the textures did not help with the scene too.

The exposure didn't seem to help as well. alt text

With the Skylight, the scene did indeed got brighter but it's an overall brightness and there's still no apparent directional light affecting the meshes. I too tried increasing the directional light intensity but it still didn't work. alt text alt text Also something I forgot to mention. Before the bake it actually looks fine(it's dark but at least things are getting lit from the directional light), but it's after the bake where everything would look really dark alt text I have also attached an image of the buffer vis just to additional info. alt text

Once again, Thanks!

avatar image navid100 Jun 11 '17 at 11:32 AM

How many stationary lights are you using for your scene? turn on cast shadows, go to view mode > optimization view modes > stationary light overlap. Then check if your screen is green not orange or red.

avatar image yongsart Jun 11 '17 at 11:43 AM

I am only using 1 Stationary Directional Light and a Stationary Sky light.

I have checked the Stationary Light Overlap mode too and it's green. Do let me know if there are other options that might cause the problem.

Thanks for helping me out so far!

(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