DocsGRADEReference

Relight

2 min read

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 categoryScene
Pipeline stageScene (scene-linear HDR, before the tonemapper)
Default position4 in its stage
Works inLive views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level
C++ / BlueprintFGradeLayer::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).

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.Relight.Enabledon/offoffTurns this on or off (the other values are kept while it is off).
Lightslist of FGradeVirtualLightUp to 4 lights.
Ambient DarkenEffects.Relight.AmbientDarken0..1000Darkens the original lighting first (mood relight: 0 = add only), 0..100.
Shadow LengthEffects.Relight.ShadowLength1..500 cm60Length of the contact shadows in cm.
SpecularEffects.Relight.Specular0..10025Surface shininess (specular highlights from the virtual lights), 0..100.
QualityEGradeEffectQualityAutoRay-march quality of the contact shadows (Auto = Studio quality).

Virtual Light (FGradeVirtualLight)

One virtual light for post relighting.

ParameterValuesDefaultDescription
Enabledon/offonTurns this on or off (the other values are kept while it is off).
TypeEGradeVirtualLightTypePoint
AnchoractorOptional actor the light follows (location and rotation); otherwise Location / Rotation are used.
Locationvector (X, Y, Z)(0, 0, 300)World location (cm), Point / Spot.
RotationrotatorFRotator(-45.0, 0.0, 0.0)Direction the light points to (Spot / Directional).
Colorcolour(1, 0.85, 0.7)
Intensity0..100, keyable40Brightness, 0..100 (relative to the scene's mid grey).
Radius>= 10 cm (slider to 10000)800Reach of Point / Spot lights in cm.
Cone Angle5..170 deg45Spot cone angle in degrees.
Contact Shadowson/offonScreen-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)

ValueMeaning
Point-
Spot-
DirectionalParallel light from a direction (key / fill).
RimRim light: lights silhouettes from behind relative to the camera.

Effect Quality (EGradeEffectQuality)

Per-effect quality override. Auto follows grade.Quality (the Studio quality setting).

ValueMeaning
Auto-
Low-
Medium-
High-
Epic-

Generated from the GRADE C++ headers. Back to the reference index.