DocsGRADEReference

Oil Paint

7 min read

On this page

Oil painting anchored to the world: brush strokes laid on the surfaces (they stay put as the camera moves), depth-aware Kuwahara paint, flowing distortion and impasto highlights.

Studio categoryStylized
Pipeline stagePost Colour (display colour, after the colour nodes)
Default position31 in its stage
Works inLive views and Image mode
C++ / BlueprintFGradeLayer::Effects.OilPaint (FGradeOilPaint)

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

Parameters

Oil painting anchored to the world: triplanar brush strokes on the surfaces, depth-aware anisotropic Kuwahara, flowing distortion and impasto highlights.

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.OilPaint.Enabledon/offoffTurns this on or off (the other values are kept while it is off).
IntensityEffects.OilPaint.Intensity0..100, keyable1000..100: mix of the painting over the picture.
StyleEGradeOilPaintStyleClassic OilPainting style. In the GRADE panel, picking a style sets every look value below at once (it keeps Intensity, the scene distances Near / Far, Use Scene Depth, Quality, Seed, Boil and View); editing a look value afterwards switches to Custom. The renderer always uses the stored values.

Strokes

ParameterBlueprint pathValuesDefaultDescription
Stroke SizeEffects.OilPaint.StrokeSize1..500 cm14World size of one brush stroke, centimetres. The strokes are projected on the surfaces from three axes (triplanar), so they stick to the world. Far away they grow in steps of 2x so they never get smaller on screen than Min Stroke Pixels (and close up they shrink so they stay under Max Stroke Pixels): any distance and any field of view keeps clean strokes.
Stroke AspectEffects.OilPaint.StrokeAspect1..3.52Stroke length, 1..3.5: 1 = short broad dabs, 3.5 = long thin strokes (the strokes get narrower, so a little canvas shows between them).
Stroke OpacityEffects.OilPaint.StrokeOpacity0..100, keyable800..100: how strongly the strokes show (relief, colour variation and canvas gaps together; 0 = paint without strokes).
Bristle DetailEffects.OilPaint.BristleDetail0..100550..100: bristle streaks along each stroke (0 = smooth knife-like paint).
Stroke SoftnessEffects.OilPaint.StrokeSoftness0..100300..100: soft, feathered stroke borders (0 = crisp edges).
Direction RandomnessEffects.OilPaint.DirectionRandomness0..100350..100: 0 = neighbouring strokes run in the same slowly turning direction (a painter's coherent hand), 100 = every stroke at a random angle.
Min Stroke PixelsEffects.OilPaint.MinStrokePixels3..408Smallest stroke on screen, pixels of a 1080-line frame (distant strokes grow so they never get smaller: no shimmering).
Max Stroke PixelsEffects.OilPaint.MaxStrokePixels12..25656Largest stroke on screen, pixels of a 1080-line frame (strokes on surfaces right in front of the camera shrink to stay under it; kept at least 1.5x Min Stroke Pixels).

Flow

ParameterBlueprint pathValuesDefaultDescription
Flow StrengthEffects.OilPaint.FlowStrength0..24, keyable4Paint displacement, pixels of a 1080-line frame (0 = no flow).
Flow ScaleEffects.OilPaint.FlowScale5..5000 cm80World size of the flow pattern, centimetres (grows with distance like the strokes, so far flow never turns into noise).
Normal FlowEffects.OilPaint.NormalFlow0..100300..100: the paint bulges along the surface orientation (screen-space normal), rounding the forms.
Volume FlowEffects.OilPaint.VolumeFlow0..100400..100: large swirls of paint in the brighter "volume" patches (blob mask x picture brightness).
Blob ScaleEffects.OilPaint.BlobScale20..20000 cm400World size of the volume patches and silhouette islands, centimetres.
Edge BleedEffects.OilPaint.EdgeBleed0..100250..100: ragged paint across every silhouette (lost edges).
Silhouette StretchEffects.OilPaint.SilhouetteStretch0..100450..100: paint dragged far across the silhouettes in random islands (dry-brush streaks).
Stretch DistanceEffects.OilPaint.StretchDistance0..326Reach of the edge bleed and stretch, pixels of a 1080-line frame.

Paint

ParameterBlueprint pathValuesDefaultDescription
Brush RadiusEffects.OilPaint.BrushRadius1..165Paint brush radius, pixels of a 1080-line frame (near).
Far Brush ScaleEffects.OilPaint.FarBrushScale1..42.5The brush radius is multiplied by this at Far Distance (broader masses far away, like the HLSL idea's depth-scaled radius).
Edge SharpnessEffects.OilPaint.EdgeSharpness0..100650..100: crisp borders between paint masses (Kuwahara sector selection).
Follow StructureEffects.OilPaint.FollowStructure0..100700..100: the paint smears along the picture's structure (anisotropic filter) instead of round dabs.
Detail KeepEffects.OilPaint.DetailKeep0..100400..100: a smaller brush where the picture is busy (faces, text, fine detail keep more of their shape).
Edge SharpenEffects.OilPaint.EdgeSharpen0..100450..100: sharpens the paint edges after the filter (halo-free, like the HLSL idea's edge sharpen).

Depth

ParameterBlueprint pathValuesDefaultDescription
Use Scene DepthEffects.OilPaint.UseSceneDepthon/offonUses the scene depth (live views): world-anchored strokes, depth-scaled brush, distance zones and sky detection. Off (and in Image mode / stills): screen-space strokes of a constant size.
Near DistanceEffects.OilPaint.NearDistance0..1000 Meters3Start of the depth range (metres): nearer than this = near brush and Near Distortion.
Far DistanceEffects.OilPaint.FarDistance1..10000 Meters80End of the depth range (metres): farther than this = Far Brush Scale and Far Distortion (kept above Near Distance).
Near DistortionEffects.OilPaint.NearDistortion0..31Flow multiplier near the camera (0..3).
Mid DistortionEffects.OilPaint.MidDistortion0..30.7Flow multiplier at a third of the depth range (0..3).
Far DistortionEffects.OilPaint.FarDistortion0..30.35Flow multiplier at Far Distance and beyond (0..3).
Fade StartEffects.OilPaint.FadeStart0..20000 Meters60Distance where the strokes and the flow start to fade (metres).
Fade EndEffects.OilPaint.FadeEnd1..50000 Meters250Distance where the fade ends (metres, kept above Fade Start): beyond it only Far Detail of the strokes and flow remains.
Far DetailEffects.OilPaint.FarDetail0..100300..100: share of the strokes and flow kept beyond Fade End (the paint itself always stays).
Sky StrokesEffects.OilPaint.SkyStrokes0..100400..100: brush strokes on the sky, anchored to the view directions (they stay on the sky as the camera turns).
Sky Stroke SizeEffects.OilPaint.SkyStrokeSize0.5..15 deg2.5Size of the sky strokes, degrees of view.

Impasto & Canvas

ParameterBlueprint pathValuesDefaultDescription
ImpastoEffects.OilPaint.Impasto0..100, keyable550..100: height of the paint relief (strokes and bristles catch the light).
RidgesEffects.OilPaint.Ridges0..100400..100: raised rims of paint pushed to the border of each stroke.
Light AngleEffects.OilPaint.LightAngle-180..180 deg135Direction the gallery light comes from, degrees on the picture (0 = right, 90 = top, 135 = top left).
Light ElevationEffects.OilPaint.LightElevation5..85 deg40Height of the gallery light above the picture, degrees (low = long relief shadows).
GlossEffects.OilPaint.Gloss0..100350..100: wet / varnished sheen on the paint ridges facing the light.
CanvasEffects.OilPaint.Canvas0..100350..100: canvas weave texture (screen-space: the canvas is the picture surface; thick paint hides most of it).
Canvas ScaleEffects.OilPaint.CanvasScale1.5..164Canvas thread spacing, pixels of a 1080-line frame.
Canvas Show ThroughEffects.OilPaint.CanvasShowThrough0..100250..100: the primed canvas shows in the gaps between strokes.
Canvas ColorEffects.OilPaint.CanvasColor.R/G/B/Acolour(0.86, 0.8, 0.68)Colour of the primed canvas (display colour).

Colour

ParameterBlueprint pathValuesDefaultDescription
SaturationEffects.OilPaint.Saturation0..200 %110Paint saturation, 0..200 % (100 = as graded).
Value VariationEffects.OilPaint.ValueVariation0..100350..100: each stroke a little lighter or darker (mixed-on-the-canvas paint).
Hue VariationEffects.OilPaint.HueVariation0..100150..100: each stroke a little warmer or cooler in hue.
Edge DarkeningEffects.OilPaint.EdgeDarkening0..100250..100: darker paint where the relief is steep (stroke borders and ridges).
VarnishEffects.OilPaint.Varnish0..100250..100: warm amber varnish over the whole painting.
Shadow GlazeEffects.OilPaint.ShadowGlaze.R/G/B/Acolour(0.28, 0.33, 0.55)Glaze colour laid over the shadows (display colour; brightness is kept).
Shadow Glaze AmountEffects.OilPaint.ShadowGlazeAmount0..100150..100: strength of the shadow glaze.

Quality

ParameterBlueprint pathValuesDefaultDescription
QualityEGradeEffectQualityAutoApproximate GPU cost at 1920x1080 on a mid-range GPU: Low ~0.8 ms (half-resolution strokes and paint, one stroke scale); Medium ~1.1 ms (half resolution, blended stroke scales); High ~1.7 ms (full-resolution strokes, half-resolution paint); Epic ~3.8 ms (everything at full resolution, the finest paint). Auto = the Studio quality.
SeedEffects.OilPaint.Seed0..999, integer0Variation of the strokes: another seed lays every stroke differently with the same settings.
Boil FpsEffects.OilPaint.BoilFps0..240Boil: the strokes are laid again this many times a second (hand-painted animation, 0..24; 0 = still strokes). Follows the game time (pauses with the game, identical in Movie Render Queue).
ViewEGradeOilPaintViewFinalWhat the effect shows: Final, or a debug view to set up the stroke size and distances.

Enumerations

Oil Paint Style (EGradeOilPaintStyle)

Painting style of Oil Paint (each sets the look values; editing one in the GRADE panel switches to Custom).

ValueMeaning
Classic OilA balanced gallery oil painting: medium strokes with visible bristles, moderate impasto, warm varnish, canvas in the gaps.
Impasto ThickHeavy paint: large loaded strokes, tall ridges catching the light, glossy highlights, little canvas showing.
Wet Alla PrimaWet-into-wet: long soft strokes, paint dragged across the edges, flowing colour, a wet sheen.
Distant LandscapePlein-air landscape: broad strokes that grow with distance, a painted sky, cool glazed shadows, more canvas.
Palette KnifePalette knife: flat, hard-edged slabs of paint with sharp ridges and almost no bristle marks.
CustomYour own values.

Effect Quality (EGradeEffectQuality)

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

ValueMeaning
Auto-
Low-
Medium-
High-
Epic-

Oil Paint View (EGradeOilPaintView)

What Oil Paint shows (debug views to set up the world scale and distances; Final for rendering).

ValueMeaning
FinalThe finished painting.
Stroke ReliefThe stroke relief only (grey, lit like the impasto): check the stroke size and how the strokes stick to the surfaces.
FlowThe paint flow (distortion) as colours: direction = hue, length = brightness.
Distance ZonesNear (green), mid (yellow), far (red) distortion zones and the stroke fade (darker), sky in blue.
Paint OnlyThe Kuwahara paint and flow only: no strokes, relief, canvas or colour work.

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