Pixel Stretch
On this page
A line of pixels smeared out across the frame like a compositor pixel stretch: streaks of colour from the subject to the edge, from the whole view or from the GRADE targets.
| Studio category | HUD & Transitions |
|---|---|
| Pipeline stage | Post Colour (display colour, after the colour nodes) |
| Default position | 7 in its stage |
| Works in | Live views and Image mode |
| C++ / Blueprint | FGradeLayer::Effects.PixelStretch (FGradePixelStretch) |
Manual: Pixel Stretch. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).
Parameters
Pixel Stretch, a line of pixels smeared out across the frame (compositor style), from the whole view or from the GRADE targets.
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Enabled | Effects.PixelStretch.Enabled | on/off | off | Turns this on or off (the other values are kept while it is off). |
| Intensity | Effects.PixelStretch.Intensity | 0..100, keyable | 100 | 0..100: mix of the stretched pixels over the picture. |
| Mode | EGradePixelStretchMode | Line | Where the streaks start: a sample Line (everything past it is replaced), a Band of rows, or the edge of the targets (Target Edge: the subject stays and its edge pixels smear away from it). | |
| Source | EGradePixelStretchSource | Whole View | Whole View, the Selected Actors of this effect, the Targets effect, or objects rendered to Custom Depth. Target sources need a live view (skipped in Image mode and when the project does not render Custom Depth); pixels hidden behind other geometry do not count. | |
| Stencil Value | Effects.PixelStretch.StencilValue | 0..255, integer | 0 | Custom Depth Objects source: 0 = every object rendered to Custom Depth; 1..255 = only primitives with this Custom Depth Stencil Value (needs Custom Depth-Stencil Pass = Enabled with Stencil; GRADE uses 200..215 for the Targets effect and 241..243 for Selected Actors). |
| Angle | Effects.PixelStretch.Angle | -360..360 deg, keyable | 180 | Direction the streaks run towards: 0 = right, 90 = up, 180 = left, 270 = down (any angle). |
| Sample X | Effects.PixelStretch.SampleX | 0..100, keyable | 50 | Line / Band: horizontal position of the sample point (0 = left edge, 100 = right edge of the view). The sample line passes through it, across the streak direction. |
| Sample Y | Effects.PixelStretch.SampleY | 0..100, keyable | 50 | Line / Band: vertical position of the sample point (0 = top, 100 = bottom of the view). |
| Band Width | Effects.PixelStretch.BandWidth | 2..2160, keyable | 260 | Band: width of the band of rows that stretches, centred on the sample point (pixels; its edges are softened by Feather). |
| Sample Inset | Effects.PixelStretch.SampleInset | 0..32 | 2 | Target Edge: the colour of each streak is read this far inside the target's edge (pixels), past its anti-aliased outline. |
| Mirror | Effects.PixelStretch.Mirror | on/off | off | Streaks on both sides: past the line in both directions, or away from the target edges in both directions. |
| Keep Subject On Top | Effects.PixelStretch.KeepSubjectOnTop | on/off | on | Target sources: the subject's own pixels always stay on top of the streaks (off: Line / Band streaks may cross the subject). |
Length
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Length Mode | EGradePixelStretchLength | To Frame Edge (%) | How Length is measured: a percentage of the way to the frame edge, or fixed pixels. | |
| Length | Effects.PixelStretch.Length | 0..100, keyable | 100 | To Frame Edge: streak length as a percentage of the way from its start to the frame edge (100 = to the edge). |
| Length Pixels | Effects.PixelStretch.LengthPixels | 0..4000, keyable | 600 | Fixed: streak length in pixels. |
| Grow | Effects.PixelStretch.Grow | 0..100, keyable | 100 | 0..100: how far the streaks have grown (animate it from 0 for streaks shooting out). |
| Variation | Effects.PixelStretch.Variation | 0..100, keyable | 45 | 0..100: rows end at different lengths (0 = every row reaches the full length; 100 = some rows almost vanish). |
| Row Size | Effects.PixelStretch.RowSize | 1..128 | 6 | Height of the groups of rows that share one length (pixels): small = fine scratchy streaks, large = broad slabs. |
| Band Rows | Effects.PixelStretch.BandRows | 0..128 | 0 | Quantize the rows into thicker flat bands of this many pixels (each band repeats the colour of its centre row; 0 = off). |
| Start Offset | Effects.PixelStretch.StartOffset | 0..1000, keyable | 0 | Gap between the line / target edge and the start of the streaks (pixels; the original shows in the gap). |
| Feather | Effects.PixelStretch.Feather | 0..400 | 2 | Soft transition from the original into the streaks at their start, and at the edges of a Band (pixels). |
| End Softness | Effects.PixelStretch.EndSoftness | 0..100 | 0 | 0..100: soft streak ends (0 = crisp cut ends like the compositor, 100 = each streak fades over its whole length). |
Colour
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Color Bleed | Effects.PixelStretch.ColorBleed | 0..64 | 0 | Colour bleed across rows (pixels): neighbouring rows blend into each other, more towards the streak ends (0 = razor-sharp rows). |
| Brightness Falloff | Effects.PixelStretch.BrightnessFalloff | 0..100, keyable | 0 | 0..100: the streaks darken towards their end. |
| Fade Out | Effects.PixelStretch.FadeOut | 0..100, keyable | 0 | 0..100: the streaks become transparent towards their end. |
| Saturation | Effects.PixelStretch.Saturation | 0..200, keyable | 100 | Saturation of the streaks (100 = as sampled, 0 = grey, 200 = vivid). |
| Tint | Effects.PixelStretch.Tint.R/G/B/A | colour, keyable | white | Colour multiplied into the streaks (white = unchanged). |
Animate
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Speed | Effects.PixelStretch.Speed | 0..10 | 0 | Shimmer: each row's length breathes over time at this speed (0 = still; scene time, pause-safe, MRQ-stable). |
| Glitch Jitter | Effects.PixelStretch.GlitchJitter | 0..100, keyable | 0 | 0..100: glitch jitter: random groups of rows jump sideways and change length in steps (Glitch Rate times per second). |
| Glitch Rate | Effects.PixelStretch.GlitchRate | 0.5..30 Hertz | 8 | Glitch jitter steps per second. |
| Seed | Effects.PixelStretch.Seed | 0..9999, integer | 0 | Random seed of the row lengths and the glitch (change it for another pattern). |
Targets
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Target Actors | list of actor | Selected Actors source: the level actors the streaks come from (GRADE panel: Add Selected / Pick). Their visible meshes are drawn into the Custom Depth-Stencil pass with stencil 242 (243 when Echo Trail lists them too) while the effect runs; the original Custom Depth settings come back afterwards and are never saved. Soft references: an actor of another level or a deleted one is skipped; editor actors resolve in Play In Editor. | ||
| Muted Target Actors | list of actor | Selected Actors source: listed actors switched off for now (the eye in the GRADE panel); they stay in Target Actors. | ||
| Target Tag | name | Selected Actors source: every actor with this tag (Actor > Tags) is a target too, spawned ones included (None = off). | ||
| Include Attached Actors | Effects.PixelStretch.IncludeAttachedActors | on/off | on | Selected Actors source: actors attached to a target (a rider, a weapon, a trailer) stretch with it. |
Enumerations
Pixel Stretch Mode (EGradePixelStretchMode)
Where the Pixel Stretch streaks start.
| Value | Meaning |
|---|---|
| Line | A sample line through the Sample Point, across the streak direction: every pixel past it is replaced by the line's own pixel smeared out towards the frame edge (the classic compositor pixel stretch). With a target Source only the rows where the line crosses a target stretch. |
| Band | Like Line, but only a band of rows (Band Width) centred on the Sample Point stretches; the rest of the picture is untouched. |
| Target Edge | From the edge of the targets: the subject stays, the pixels along its edge smear away from it in the streak direction to the frame edge (a car leaving trails of its own colours). Needs a live view with Custom Depth; with Source = Whole View it uses every object rendered to Custom Depth. |
Pixel Stretch Source (EGradePixelStretchSource)
Which pixels the Pixel Stretch reads its streaks from.
| Value | Meaning |
|---|---|
| Whole View | No mask: Line and Band stretch the whole view. |
| Targets Effect | The targets of the GRADE Targets effect on the same volume / layer stack (actors and Stencil Value targets). To use them only as a mask, set their Mode to Label only and Label to Never. Needs Custom Depth-Stencil Pass = Enabled with Stencil. Live only. Selected Actors is simpler: it needs no Targets effect. |
| Custom Depth Objects | Objects with Render CustomDepth Pass on (their Details panel): every one of them (Stencil Value 0), or only those with one Custom Depth Stencil Value (needs Custom Depth-Stencil Pass = Enabled with Stencil). Live only. |
| Selected Actors | The actors listed in this effect (Target Actors, Target Tag, attached actors), picked right here: no Targets effect, no Details panel change. GRADE draws them into the Custom Depth-Stencil pass with stencil 242 (243 when Echo Trail lists them too) while the effect runs and restores them afterwards. Needs Custom Depth-Stencil Pass = Enabled with Stencil. Live only. |
Pixel Stretch Length (EGradePixelStretchLength)
How the Pixel Stretch streak length is measured.
| Value | Meaning |
|---|---|
| To Frame Edge (%) | Length is a percentage of the way from the streak start to the frame edge (100 % = every streak reaches the edge). |
| Fixed (px) | Length is a fixed number of pixels (1080-line pixels, scaled with the view height). |
Generated from the GRADE C++ headers. Back to the reference index.