Lighting Content Examples

On this page:

The Lighting map inside the Content Examples project shows the different types of lights that can be used in Unreal Engine 4 as well as the settings that can be adjusted to help create a more realistically lit environment. The map is broken up into several sections where the first two sections cover light types and light mobility and the remaining cover shadowing, falloff and advanced techniques.

For more details about each example, follow the link provided in each table.

Lighting Map

Listed below are each of the sections provided inside the Lighting map:

Basic Light Types

lighting_01.png

Example What is Demonstrated
1.1 Point Light The basic type of light which emits light from a single point in all directions, spherically.
1.2 Spot Light A light that emits from a single point in a cone shape.
1.3 Directional Light Light that is simulated from an infinitely large source that is infinitely far away (e.g. best used for simulating sunlight).

Light Mobility

lighting_02.png

Example What is Demonstrated
2.1 StaticLight Lights that cannot be changed or moved in any way at runtime and are calculated only within Lightmaps.
2.2 Stationary Light Lights that are intended to stay in one position, but unlike Static Lights, are able to change in other ways such as brightness or color.
2.3 Movable Light Lights that can be moved and changed in game (e.g. headlights on a car or flashlights).

Lightfunctions & IES Profiles

lighting_03.png

Example What is Demonstrated
3.1 IES Light Profiles Illuminating Engineering Society (IES) profiles are a method of diagramming the brightness and falloff of a light to create realistic lighting results.
3.2 Light Functions A material that can be applied to a filter a light's intensity (e.g. the Unreal Engine 4 logo is projected onto a wall using a Light Function).

Falloff & Indirect Lighting

lighting_04.png

Example What is Demonstrated
4.1 Falloff Exponent How to control the fall off of a light through the Falloff Exponent setting.
4.2 Inverse Square Falloff Fall off which mimics real world lighting by becoming very bright when closest to its source and getting dimmer as it moves away.
4.3 Indirect Lighting Demonstrates how objects can be affected by indirect lighting stemming from a nearby light source.

Source Radius Effects & Highlights

lighting_05.png

Example What is Demonstrated
5.1 Source Radius (Static Lights) Shows how soft or hard shadows can be created by adjusting the Source Radius of a Static Light.
5.2 Lightsource Radius The effects of Source Radius on Stationary or Movable lights and how they contribute to specular reflections.
5.3 Lightsource Length How the shape of a light's reflection can be altered using Source Length (e.g. the reflection from a fluorescent light fixture).
5.4 Min Roughness Demonstrates a way to blur out a highlight that may be too strong in a reflection by adjusting the Min Roughness setting.

Advanced Shadow Parameters

lighting_06.png

Example What is Demonstrated
6.1 Shadow Bias Shows how an object can cast shadows on itself to help it feel more grounded to a surface.
6.2 Shadow Filter Sharpen A setting used to boost the sharpness at the edges of shadows.