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"

Baked lighting on moving object

Hey, i have a big object that moves dynamically in my scene and the player can walk on it. Now I want the objects lighting to be baked so that it looks good. So in order for my object to move however I have to declare it movable but that disables static lighting on it. Since my object is self contained it could receive baked lighting without any problems.

Is there a way to precompute the baked light just for this isolated movable object, then set it to movable place it in the scene and have the lighting still be applied?

Product Version: Not Selected
more ▼

asked Jan 18 '15 at 05:07 PM in Rendering

avatar image

6 4 5 7

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

2 answers: sort voted first

Hi Timothy,

So long as your have at least a stationary or Static light in your scene this will apply. Select the "movable" object that you want to have baked shadows and in the details panel locate the advanced option check box for "Light as if Static." This will bake the static lighting to the movable actor. If you're using only Dynamic lighting in your scene this option will be grayed out and not able to be selected.



more ▼

answered Jan 19 '15 at 03:24 AM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image Timothy Jan 19 '15 at 01:17 PM

Hey Tim, I have tried your suggestion, however, the object I'm trying to move is a big ship, which should receive dynamic light from the scene light and static light through point lights attached to it. Since the lights are bound by hierarchy to the ship inside a blueprint they don't really move relative to the ship. So their light could be baked. But to cast static light they also have to be declared as static and when the lights are declared static they can't be attached to a moving ship. Thus preventing me from using baked shadows....

I hope the explanation makes sense and there is a way to achieve this in ue4.

avatar image Tim Hobson ♦♦ STAFF Jan 19 '15 at 03:17 PM

I'm not aware of a way to make something like that work. My suggestion was more for general movable objects in your scene that may need static lighting baked. :/

I toyed with the notion for a few minutes setting up a mesh with some attached lights and did not get any good results. The only solution that may work beyond this if you need the baked shadows would be to bake that information into your texture using your modeling software.

avatar image Timothy Jan 19 '15 at 03:37 PM

That's a bummer, especially since I think this feature may be quite useful for a number of situations... Anyway, thanks for the answer, and I think I will try to bake the information in a third party software.

avatar image Hainzgrimmer May 03 '16 at 02:12 PM

Hi Tim, I have a similar condition: I made a blueprint with some objects, and with a button I make some of them visibile and the other invisibile (this to show two possible options of furniture); they are not under direct light but they are in an interior and so they are reached only by indirect light. My problem is that under indirect light my object don't have any shadows on them neither soft-shadow under them; I tried you suggestion to use the "light as if static" option and the result was what I was looking for, but I see all the shadows of the objects even when they are invisible

There is a way to toggle even the visibility of those shadows? or it's a limit of the engine?

avatar image Tim Hobson ♦♦ STAFF May 03 '16 at 05:07 PM


When using Light as if Static the lighting will be baked for all objects, including those you choose to switch out. There isn't a way around this unless you unchecked the option for cast shadow, but then you wouldn't have any shadows at all.

As a workaround, you could explore having a low-intensity point light in place to help cast some softer shadows. You would set this to be dynamic so that there are no baked shadows and it will affect the objects that are being switched out.

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

@Hainzgrimmer , you can take those different furniture styles and move to another level and click that switch to lightning scenario button to the right *levels menu` so they will appear with their own ligning effects including baked stuff

more ▼

answered Mar 07 '17 at 02:37 PM

avatar image

11 1 6 5

(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