This is the documentation for Enlighten.
Visualizations and statistics
Enlighten includes a range of visualizations and statistics to help debug your Enlighten lighting and optimize Enlighten memory use.
Visualizations
To access the Enlighten visualizations, use the View Mode > Enlighten submenu.
Â
Lighting Mode
Colors objects based on their lighting mode.
- Contribute lightmaps: orange
- Contribute probes: yellow
- Detail: blue
- Static probe-lit meshes: green
- Movable probe-lit meshes: red
- Disabled: gray
Enlighten Probes are automatically generated for static probe-lit meshes, but not for movable probe-lit meshes.
Lighting Quality
Colors meshes based on their lighting quality:
- Low: orange
- Green: medium
- High: blue
The colors are desaturated for parts of the level which have in-game Enlighten updates turned off.
Lightmap Charts
Shows the lightmap UVs generated by the Enlighten precompute. Each chart is a different color.
Lightmap Efficiency
Shows the lightmap efficiency of each Contribute Lightmap mesh. Green indicates that the lightmap UVs generated by the Enlighten precompute provide very efficient lighting. Yellow, orange and red indicate less efficient lighting, with red as least efficient.
Probes
Shows the Enlighten probes generated by the precompute.
Radiosity Back-faces
Shows only the meshes included in the Enlighten radiosity computation. Colors opaque faces green and invalid back-faces orange.
Use this visualization to find unintended visible back-faces. See Material properties for more information about invalid back-faces.
Radiosity Dependencies
Shows the radiosity system of the selected mesh in green. Its dependencies are shown in blue. Other systems are gray.
Radiosity Geometry
Shows only the meshes included in the Enlighten radiosity computation.
Radiosity Systems
Shows each radiosity system generated by the Enlighten precompute in a different color.
Sample Locations
Shows the sample positions generated by the Enlighten precompute in red. Enlighten samples surface albedo/emissive and direct lighting/shadows at these positions.
Sampled Albedo
Shows the Albedo color used when computing Enlighten indirect lighting at multiple sample positions on the surface of the contributing meshes.
Sampled Direct Lighting
Shows the direct lighting values used when computing Enlighten indirect lighting at multiple sample positions on the surface of the contributing meshes.
Sampled Direct Shadows
Shows the Enlighten shadowing of the current selected or most recently selected light at multiple sample positions on the surface of the contributing meshes. You can enable shadowing for Movable SpotLight actors with the Cast Dynamic Enlighten Shadows property.Â
Static Mesh Editor Charts
To visualize the charts generated by Enlighten for a mesh, in the Static Mesh Editor, use the Charts toolbar button. This is useful when iterating on Auto UV settings for a mesh or changing the Output Pixel Size.
To refresh the view:
- Open Window > Update Enlighten UVs.Â
- Click Apply Changes.
If the mesh requires too many lightmap pixels, the Output Log reports an error.
Enlighten Editor Statistics
To view statistics about the Enlighten data for your level in the editor:
- Select Tools > Audit > Statistics.
- In the dropdown menu, select Enlighten Stats.
By default, all systems in the level are shown in the level. Use the dropdown menu on the right to filter the list of systems to those within the current level, or those which contain the currently selected actors.
Enlighten runtime stats
These stats are inaccurate when used in editor mode. For accurate statistics, run the Standalone or cooked game build.
To view statistics for the Enlighten runtime, use the following console commands:
stat enlighten -sortby=Name
stat enlightenmem -sortby=Name
stat enlightencomplexity -sortby=Name