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"

How to have static and dynamic lighting ?

we are developing a massive online open world game and i would be happy to see any advises in terms of performance . any way lets ask my main question . in the game there is a lot of buildings and a lot of cars and objects and players . i want objects + buildings to have static lighting so they don't cost performance and cars + players to have dynamic lighting . the thing is when i set buildings static and set the directional light to static and bake the lighting and then change the light to dynamic (because i want players to have dynamic shadow) and then i run the game i don't see much of change in performance . anyway if what i just said confused you just answer this question . if you were about to develop this game (buildings + objects = static , players + cars = dynamic) what exactly would you do ?

I will really appreciate the time you put on typing


Product Version: UE 4.21
more ▼

asked Jan 19 '19 at 02:32 PM in Rendering

avatar image

5 2 1 4

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

1 answer: sort voted first


In theory kind of the way you imagine: - you'll have static objects in your scene: you can bake their lighting with your static lights - you can have slightly changing (intensity, color) lights (stationary) which will add on to the static results - and then you'll have the fully dynamic lighting for your moving objects

So these 3 will give you the whole lighting! You "can't" (and not the solution) build lights and then change the light to stationary/movable! Your lighting will be broken and you'll get error messages from Unreal...

My answer is not accurate but you'll get the idea...

more ▼

answered Jan 19 '19 at 03:26 PM

avatar image

1.1k 3 4 8

(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