DocsGRADEReference

Broken Glass

1 min read

On this page

Shattered screen: radial and concentric cracks from an impact point, shards refracting the image.

Studio categoryGames
Pipeline stagePost Colour (display colour, after the colour nodes)
Default position20 in its stage, shares a pass with the GameOverlays group
Works inLive views and Image mode
C++ / BlueprintFGradeLayer::Effects.BrokenGlass (FGradeBrokenGlass)

Manual: Broken Glass. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).

Parameters

Shattered screen / cracked glass: radial and concentric cracks from an impact, shards refracting the image.

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.BrokenGlass.Enabledon/offoffTurns the effect on.
ImpactEffects.BrokenGlass.Impact.X/Y2D vector (X, Y)(0.62, 0.42)Impact point in view UV (0..1).
CoverageEffects.BrokenGlass.Coverage0..1, keyable0.55How far the cracks reach (near 0 = tiny hit, fades out at 0 .. 1 = whole screen from any impact point).
Radial CracksEffects.BrokenGlass.RadialCracks3..40, integer14Number of radial cracks, 3..40.
BranchingEffects.BrokenGlass.Branching0..10050Density of the concentric / branching cracks, 0..100.
Shard OffsetEffects.BrokenGlass.ShardOffset0..326Shard displacement (refraction) in pixels at 1080 lines.
Crack WidthEffects.BrokenGlass.CrackWidth0.5..61.5Crack line width in pixels at 1080 lines.
HighlightEffects.BrokenGlass.Highlight0..10060Bright edge highlights along the cracks, 0..100.
CrushEffects.BrokenGlass.Crush0..10040Crushed, milky glass around the impact, 0..100.
SeedEffects.BrokenGlass.Seedinteger9Pattern variation.
Crack TexturetexturenoneOptional crack texture (white = crack) replacing the procedural pattern, centred on Impact.

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