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
asked Jan 19 '19 at 02:32 PM in Rendering
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...
answered Jan 19 '19 at 03:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here