DocsGRADEReference

GRADE Ground Blend (Experimental)

3 min read

On this page

One per level: the ground's material continues smoothly up onto the objects that stand on it, from a world-space ground cache, blended before lighting. Edit it in the Ground Blend panel of GRADE Studio or in the Details panel.

C++: AGradeGroundBlend. Manual: GRADE Ground Blend (Experimental).

Parameters

GRADE Ground Blend (Experimental): the ground's material continues smoothly up onto everything that rests on or sticks out of it (rocks, walls, trunks, props), automatically, with no per-mesh setup and no material edits. Place one per level (GRADE Studio > Ground Blend adds it). Deferred shading only: works with Substrate when its GBuffer Format is Blendable GBuffer (the default of new projects), not with the Adaptive GBuffer format, forward shading or mobile.

ParameterValuesDefaultDescription
Enabledon/offonTurns the ground blend on / off for this level. Off costs nothing.
Strength0..100 %100How much of the ground's material objects take at their base (100 = all of it at the contact).
Transition Height1..1000 cm (slider 5..300)40Height above the ground over which the blend fades out (long and very soft by default).
Noise Amount0..100 %35Breaks the edge of the blend with world-anchored noise (0 = a clean, level edge).
Noise Scale5..2000 cm (slider 10..500)90Size of the noise features (world space: the pattern stays on the surfaces when the camera moves).
Up-Facing Bias0..100 %50Up-facing parts of objects take the ground higher up (like soil and moss settling on top); faces pointing down never take it.
Normal Blend0..100 %70How far object normals lean toward the ground's normal near the contact (so the seam is lit like the ground).
Skip Moving Objectson/offonCharacters, vehicles and other movable objects that write motion vectors in the base pass keep their own material (a moving object would drag the ground's colour along). Needs base-pass velocities; without them nothing is skipped.
Max Height (Fill Only Below)0..1000 cm (slider 0..200)0Fill only below: objects whose underside floats more than this above the ground get nothing (0 = off; on adds a second, small capture of the objects seen from below).
Auto Groundon/offonFinds the ground automatically: landscapes and large, flat, non-movable static meshes.
Ground Min Size100..10000 cm (slider 100..5000)400Smallest horizontal size (on both axes) of a flat static mesh that counts as ground automatically. (Editable when Auto Ground is on.)
Ground TagnameFName(TEXT("GradeGround"))Actors or components with this tag are always ground (roads, floors, terrain pieces), whatever Auto Ground finds.
Cache Range1000..40000 cm (slider 2000..20000)6000Side of the cached square around the camera. Larger = farther blend, coarser texels.
QualityEGradeGroundBlendQualityMediumCache resolution (Medium: 2048 texels, about 3 cm per texel over 60 m, about 80 MB of video memory).
Refresh Interval0..60 s (slider 0..10)0Seconds between automatic recaptures of the ground (0 = only when the camera moves far enough or a setting changes: static ground).
Contact Shadingon/offoffDarkens the ground softly around the footprints of objects resting on it (adds the small capture of objects seen from below).
Contact Strength0..100 %45How dark the ground gets right next to a footprint. (Editable when Contact Shading is on.)
Contact Radius5..500 cm (slider 5..200)40How far the darkening reaches around a footprint. (Editable when Contact Shading is on.)
Debug ViewEGradeGroundBlendDebugNoneDebug view (paints into the base colour; the image stays lit).

Enumerations

Ground Blend Quality (EGradeGroundBlendQuality)

Resolution of the ground cache (texels on each side of the cached area).

ValueMeaning
Low1024 x 1024 texels (about 20 MB of video memory; 3 cm texels over 30 m).
Medium2048 x 2048 texels (about 80 MB of video memory).
High4096 x 4096 texels (about 310 MB of video memory: for large ranges only).

Ground Blend Debug (EGradeGroundBlendDebug)

What the Ground Blend debug views paint into the base colour (the image stays lit, so shapes still read).

ValueMeaning
NoneThe normal blended image.
WeightHow much ground each object pixel takes (dark = none, yellow = all); ground pixels in grey.
Ground Cache ColourThe cached ground base colour at every pixel's world XY (magenta = outside the cache or no ground below).
HeightHeight above the cached ground: colour bands up to the transition height, a line every 10 cm, blue below the ground.
ContactContact footprints of objects on the ground (red) and objects floating above Max Height (cyan).

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