This is the documentation for Enlighten.
6. Choose the lighting accuracy
For efficient Enlighten lighting, it's important to find a balance between lighting accuracy and cost.
If you specify a smaller lightmap pixel size for an actor, Enlighten produces more lightmap pixels for each chart. The Enlighten Quality of each static mesh actor defaults to High, which targets a lightmap pixel size of 100 units. This is a good level of accuracy for areas seen up close, but requires more lightmap pixels.
You can safely reduce the Enlighten Quality (thereby increasing the lightmap pixel size) for areas that are always seen from far away, such as the higher levels of the buildings. The reduced accuracy isn't obvious when viewed at a distance.
- Under Show, select Enlighten > Lighting Quality.
This shows the Enlighten Quality assigned to the actors in the level.
The Lighting Quality visualization colors meshes as follows:- Blue: High
- Green: Medium
- Orange: Low
- Purple: Background
- Gray: no lightmap used
- In the World Outliner, select the actor EnlightenSystemContainer.
The EnlightenSystemContainer actor contains properties that apply to all actors in the same level. - In the Details tab, under Enlighten Settings, set Default Quality to Medium.
All the actors now use the Medium setting, colored in green. - Right-click a static mesh actor and choose Select > Select All StaticMeshActor(s).
This selects every static mesh actor in the level. - Right-click again and select Visibility > Show Only Selected.
This hides everything except static mesh actors. This will make the next steps easier. - Press Esc to deselect the actors.
- Select all the street-level actors that use light maps, such as the ground and first-floor walls. These are the areas that the player sees up close.
The fastest way to do this is to hold Ctrl and Alt and drag the mouse to select multiple actors.
You don't need to be too precise when you do this. Use your own judgement about which actors are likely to be seen up close from the street level. - With the street-level actors selected, under Details > Enlighten, set Enlighten Quality to High.
During this process, it's OK if you also change the Enlighten Quality of actors that don't use lightmaps, such as lampposts and trash bags (colored gray). As we changed these actors to not use lightmaps, it doesn't affect the result.
It's also OK if you change the setting for the background buildings. We'll change these in the later steps. Select Build > Re-run Enlighten Parameterize to regenerate the Enlighten lightmap UVs.
Before re-running the parameterize After The lightmap pixels for the actors using Medium and High are the same size. The lightmap pixels for the actors using Medium are now larger than those of the actors using High. This means they use fewer Enlighten lightmap pixels. - As the background buildings are always seen from a distance, we can set them to Low.
In the World Outliner, use Ctrl + click to select the three Buildings_Background meshes. - In the Details tab, under Enlighten, set Enlighten Quality to Low.
- As the signs in our level emit light, we want them to have sufficient lighting accuracy.
In the World Outliner, select all the actors in the Assets > Signs folder. - Under Details > Enlighten, set the Enlighten Quality to High.
Now the signs use the High setting, shown in blue. - Re-run Enlighten Parameterize to regenerate the Enlighten lightmap UVs.
The signs now use more lightmap pixels than before, and the background actors use far fewer.