Unreal Engine Rebuild Lighting [PORTABLE]
Often the difference between a good game and a great game can come down to light. Even the best model rendered with poor shadow resolution and not taking advantage of the right post process settings will look poor. In the Unreal Engine, it means digging in to our robust lighting, reflection and post process settings. This Troubleshooting guide attempts to cover some of the more common problems that people come across when they first dig into the lighting and rendering systems. This guide is by no means meant to be completely comprehensive but a living document as the engine changes so too can we add and alter advice presented here. The guide is meant to be a great first step for artist trying to get the most out of the engine's rendering system.
unreal engine rebuild lighting
This warning is caused when lighting has been invalidated by moving or modifying a light Actor. This can cause problems because the rendered lighting in the level is not accurately representing the current state of lights in the level. This error can be solved by going to the Build menu and rebuilding lighting for a map.
You may have noticed that the lighting rebuild you just did popped up an error about a missing lightmass importance volume. A LM importance volume is a special volume that determines how high the quality should be in a specific area. So everything inside one of those volumes will receive full quality lighting, the parts outside these volumes however will be lower in quality. The practical use of this is for example a level surrounded by a city. In such case only the playable section of the level should be covered with the volume because it would be pointless to calculate high quality lighting for that surrounding and distant city.
I was trying to create a lighting example for a proof-of-concept for project, but found myself in a bit of loop. The issue is that I'm trying to build the lighting, however, when I build the lighting there is an issue and UE4 tells me to check the message log. I check the message log and it tells me that the "Maps need lighting rebuilt." Okay, rebuild lighting..... enter recursion ****.
DynamicLight: this will show your map with all lightingeffects. If yourebuild lights and you haven't added any lights yet, you'll see only black. This modus shows the lighting like it will look in UT, so always use this onewhen working with the lighting of your map.
If you have a small map, this takes less than a second, but if you have alarge map, rebuilding can take up to several minutes. After you rebuiltgeometry, you see that all the walls become bright, as if there were no lights. This is because rebuilding geometry deletes all the info on lighting in yourmap. To get the light effects back, you have to rebuild lighting.
Click on Skin. A button Use appears. Click that button and the name ofthe texture you selected should appear in the textfield. Before you can see thecorona in UEd, you have to rebuild geometry. After that, alsorebuild lighting. Now you'll see the corona in the 3D view. If you don'tsee it, make sure the camera is close enough to the light if it has a smallLightRadius and that the camera is not inside a wall. If you stilldon't see it, it might be that your software or hardware modus doesn't has thecorona option enabled. go to the Fog-section of thistutorial and read the first part of it, but instead of tutning on theVolumetricLighting option, turn on the Corona option.
When you place any light or use ZoneLighting, the walls are affected by theselightsources. But it is possible to make the walls ignore the lighting and justbe completely bright, even if they are in a dark room. Create a normal cuberoom,add some very dark lights in it and make sure ZoneLighting is set to 0. Nowrebuild lighting. You'll see nothing but black now. Now select one of the walls. Blue dots should appear on it. Right click on it. In the menu thatappears, choose Surface Properties. (In UEd1 doubleclick on the surface does thesame). In the Surface Properties open the Flags-tab.
There activate Unlit and rebuild lighting. Notice how all the walls ofthe room are dark, exept the one you set to Unlit. Just for fun, add a light inthe room. The dark walls will be affected by the light, but the unlit willremain unaffected. They also ignore ZoneLighting.
They can only be enlighted by lights that are set to special lit as well, orby ZoneLight. Open the Light Properties of the red light and expand Lighting.Now set Special Lit to True and rebuild lighting. The normal walls are green andthe Special Lit wall is red.
The quality of the lightmaps on a surface depends on the Shadow detail yougive it. Open the Surface Properties of the walls, floor and ceiling of aroom and try these things. Always rebuild lighting after altering apropertie, to see the result:
However, Coronas give some problems! First of all, when you add acorona to a light with bNoDelete to False, and rebuild lighting, the corona willnot appear. There is a way to get around this! To do this,first set bNoDelete of that light to True and rebuild your whole map. Because bNoDelete was True, the corona is there and everything is just fine. However after that, set bNoDelete to False and do not rebuild anymore,but just save your map. The corona will remain there and also work in the game. You will have to do this every time you want to play the map, and the mostimportant moment to do it is just before you release your map. You don'thave to do all this if you use seperate lights for the corona and the shine: thecoronalight does not have to be bNoDelete = False, because you don't need itsshine and set its LightBrightness to 0.(see also a little further)
If you have for example windows with glass in them and want the light fromoutside (for example lightnings) to go through it, make the glass a mover, setits key0 to its normal place in the window and key1 on a place far away fromit. Set WorldRayTraceKey to 1 and set its InitialState to TriggerToggleand enter a unique tag for the brush. Do not create a trigger for it. This way, the mover will never move. Now, rebuild lighting: the light willbe calculated as if the window is on that other place far away, so the lightWILL go through the window.
After setting up the values I was happy with, rebuilding reflection captures, and scene recapturing (in the skylight panel) I proceeded to post-process volume tweaks. The main goal was to try to build lighting with as few Post Process Volume tweaks as I could so that the amount of changes here is really tiny.
ive done a project or two in unreal 4 a while back, but when importing it into the engine (via Datasmith) it broke my scene into meshes with the pivots all in the wrong spot so my modular work couldnt be snapped together ( i ended up eyeballing it). i have yet to try unreal 5, curious if they have improved this or if there is a workflow that works well?.
Call of Duty 4: Modern Warfare was released using version 3.0 of the engine. This game included features such as bullet penetration, improved AI, lighting engine upgrades,better explosions, particle system enhancements and many more improvements. Treyarch began using an enhanced version of the IW 3.0 engine for Call of Duty: World at War. Improvements were made to the physics model and dismemberment was added. Environments also featured more destructibility and could be set alight using a flamethrower. The flamethrower featured propagating fire and it was able to burn skin and clothes realistically. Treyarch modified the engine for their James Bond title, 007: Quantum of Solace.
Call of Duty: Modern Warfare 2 was released using the IW 4.0 engine, the only game to do so. The IW 4.0 engine featured texture streaming technology to create much higher environmental detail without sacrificing performance. Call of Duty: Black Ops was not based on IW 4.0; rather, Treyarch further enhanced the version of IW 3.0 they had used in their previous game. This version of the engine also featured streaming technology, lighting enhancements, and support for 3D imaging. Call of Duty: Modern Warfare 3 utilizes an improved version of the IW 4.0 engine. Improvements on the engine allow better streaming technology which allows larger regions for the game while running at a minimum of 60 frames per second. Further improvements to the audio and lighting engines have been made in this version.
Call of Duty: Black Ops II was developed using a further iteration of the IW engine. Texture blending has been improved due to a new technology called "reveal mapping" which compares tones between two textures and then blends them together. Also, there have been upgrades to the lighting engine which include HDR lighting, bounce lighting, self-shadowing, intersecting shadows and various other improvements. Call of Duty: Black Ops II takes advantage of DirectX 11 video cards on the Windows version of the game. The "zombie" mode has been moved to the multiplayer portion of the engine which will allow for much more variety within this part of the game.
Call of Duty: Ghosts features an upgraded version of the IW 5.0 seen in Call of Duty: Modern Warfare 3. It is unknown at this time whether or not any engine features have been taken from Call of Duty: Black Ops II. Since the main developer is Infinity Ward they have returned to their original engine naming system and called this iteration IW 6.0. IW 6.0 is compatible with next-gen systems such as Xbox One and PlayStation 4 so polygon counts, texture detail and overall graphical fidelity has been increased. IW 6.0 is also compatible with Microsoft Windows, Wii U, PS3 and Xbox 360. The IW 6.0 engine features technology from Pixar, SubD, which increases the level of detail of models as one gets closer to them. Mark Rubin has said about the HDR lighting "We used to paint it in and cover up the cracks, but now it's all real-time". Ghosts uses Iris Adjust tech which allows the player to experience from a person's point of view how their eyes would react to changes in lighting conditions realistically. Other features include new animation systems, fluid dynamics, interactive smoke, displacement mapping and dynamic multiplayer maps. 350c69d7ab