Relight
On this page
Relight the shot in post: up to four virtual point, spot, directional or rim lights shading the scene from depth and normals, with contact shadows and speculars; lights can follow actors.
| Studio category | Scene |
|---|---|
| Pipeline stage | Scene (scene-linear HDR, before the tonemapper) |
| Default position | 4 in its stage |
| Works in | Live views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level |
| C++ / Blueprint | FGradeLayer::Effects.Relight (FGradeRelight) |
Manual: Relight. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).
Parameters
Relighting in post: virtual lights shading the scene from depth + reconstructed normals, contact shadows, rim light (scene).
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Enabled | Effects.Relight.Enabled | on/off | off | Turns this on or off (the other values are kept while it is off). |
| Lights | list of FGradeVirtualLight | Up to 4 lights. | ||
| Ambient Darken | Effects.Relight.AmbientDarken | 0..100 | 0 | Darkens the original lighting first (mood relight: 0 = add only), 0..100. |
| Shadow Length | Effects.Relight.ShadowLength | 1..500 cm | 60 | Length of the contact shadows in cm. |
| Specular | Effects.Relight.Specular | 0..100 | 25 | Surface shininess (specular highlights from the virtual lights), 0..100. |
| Quality | EGradeEffectQuality | Auto | Ray-march quality of the contact shadows (Auto = Studio quality). |
Virtual Light (FGradeVirtualLight)
One virtual light for post relighting.
| Parameter | Values | Default | Description |
|---|---|---|---|
| Enabled | on/off | on | Turns this on or off (the other values are kept while it is off). |
| Type | EGradeVirtualLightType | Point | |
| Anchor | actor | Optional actor the light follows (location and rotation); otherwise Location / Rotation are used. | |
| Location | vector (X, Y, Z) | (0, 0, 300) | World location (cm), Point / Spot. |
| Rotation | rotator | FRotator(-45.0, 0.0, 0.0) | Direction the light points to (Spot / Directional). |
| Color | colour | (1, 0.85, 0.7) | |
| Intensity | 0..100, keyable | 40 | Brightness, 0..100 (relative to the scene's mid grey). |
| Radius | >= 10 cm (slider to 10000) | 800 | Reach of Point / Spot lights in cm. |
| Cone Angle | 5..170 deg | 45 | Spot cone angle in degrees. |
| Contact Shadows | on/off | on | Screen-space contact shadows for this light. |
Entries of this list are not addressable by Blueprint paths; edit them in GRADE Studio, the Details panel or with the dedicated Blueprint helpers.
Enumerations
Virtual Light Type (EGradeVirtualLightType)
| Value | Meaning |
|---|---|
| Point | - |
| Spot | - |
| Directional | Parallel light from a direction (key / fill). |
| Rim | Rim light: lights silhouettes from behind relative to the camera. |
Effect Quality (EGradeEffectQuality)
Per-effect quality override. Auto follows grade.Quality (the Studio quality setting).
| Value | Meaning |
|---|---|
| Auto | - |
| Low | - |
| Medium | - |
| High | - |
| Epic | - |
Generated from the GRADE C++ headers. Back to the reference index.