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"

What is causing a movable static mesh to get black lighting from a static light when in certain spots?

This has been a recurring problem in my game. Objects suddenly and quickly fade to black whenever in certain areas of the world, but I can't find any direct link between distance to the light sources.

-Dynamic and stationary lights still light the object.

-The meshes are set to movable, and they do not have "light as if static" ticked.

-Removing all light sources except one does not solve the problem.

-The lighting change happens in real-time, in game, as well.

3 of the 4 meshes in the pictures are the included static meshes with UE4.

This seems to me as if it's a bug in UE4, but I want to be sure it isn't my mistake before making a bug report.

Here's some screenshots, can't upload them here(the answerhub editor is heavily malfunctioning):

Lighting working correctly:


Actor is now moved 10cm on the Y-axis, and now black.


Product Version: UE 4.8
more ▼

asked Nov 19 '15 at 08:04 AM in Rendering

avatar image

33 13 14 16

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

1 answer: sort voted first

Hi Will,

From everything you've described this is acting as I would expect it to.

Just to recap to make sure I've got this down fully:

  • Your scene is only using Static lighting

  • You have movable (dynamic) actors in your scene, like the sphere

  • This movable object is set to "Light as if static"

Now when the object is moved out of the lights radius it is no longer lit the way you would expect right?

OK. now if I'm correct on all these accounts, this is exactly how the engine should work with dynamic objects in statically lit areas.

In the editors viewport you can go to Show > Visualize > Volume Light Samples. This will enable the volume light samples to be visible for debugging purposes. This is ultimately how dynamic objects can be lit (without shadow casting) in a statically lit environment.

You can read more about the Indirect Lighting Cache here: https://docs.unrealengine.com/latest/INT/Engine/Rendering/LightingAndShadows/IndirectLightingCache/index.html

Let me know if you have any follow up questions or I'm misunderstanding what you've got in your scene setup.


more ▼

answered Nov 19 '15 at 03:28 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image Willtheoct Nov 19 '15 at 10:27 PM

The movable object is -not- set to "light as if static". I want the movable objects to be dynamically lit, but still use static lights for static objects.

But thank you very much for that link! The solution was indeed to add a "LightmassCharacterIndirectDetailVolume" to the area. Thank you!

(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