UE5 / Recipe / Stylized Surface

Lava / Magma for UE5

A lava recipe for hot cracks, cooled crust, slow flow, emissive depth, and heat distortion that stays readable from gameplay distance.

Recipe baseline

Visual slot reserved

The future hero image should prove the dark crust, hot cracks, slow flow, and hazard boundary all read from a gameplay camera.

01

Visual Target

What we are building: a lava surface with dark crust islands, hot orange cracks, slow internal motion, and optional heat shimmer above the surface.
Image placeholder: stylized lava fieldGenerate later: dark cooled crust, glowing magma cracks, orange emission, subtle heat haze, strong readable shapes, 16:9 landscape, no text.

The dark crust is as important as the glow. Without dark shapes, lava becomes a flat orange light.

02

Use Cases

EnvironmentLava poolsUse for stylized dungeons, volcanic arenas, and readable hazard zones.
PropHeated metal or rockDrive crack emission on weapons, stones, or machinery that is about to overheat.
VFXGround warningUse the emission mask as a gameplay telegraph before a burst or eruption.

03

Mental Model

Lava is contrast between crust and heat

The dark cooled crust is not background detail; it is the shape that makes the hot areas feel hot. If the surface is orange everywhere, the player sees a light source, not lava.

Motion should feel heavy

Fast panning noise reads like fire or electricity. Magma usually wants slow drift, pressure, and directional flow. Save fast motion for sparks, surface bubbles, or eruption moments.

Gameplay read comes first

If lava is a hazard, the safe/unsafe boundary needs to be readable before the material becomes pretty. Use edge glow, color contrast, or terrain shape to make the boundary obvious.

04

Graph Steps

Crust maskHeat rampSlow flowCore glowHeat hazeOutput

1. Shape the crust mask in grayscale

Use Voronoi, cracked noise, texture masks, or painted maps to separate cooled plates from hot channels. Preview this before color; the pattern should already feel like broken crust.

Beginner check: black crust and white cracks should make sense as a hazard pattern with no bloom.

2. Remap heat through a narrow ramp

Use deep red for low heat, orange for active magma, and yellow-white only in the hottest thin cores. A narrow hot core feels hotter than making every crack white.

3. Move only the heat layer slowly

Let the crust remain mostly stable while the hot interior shifts underneath. This creates the feeling of molten material below a cooled surface instead of a flat animated texture.

Senior note: if the whole crack mask swims, players may read it as a decal sliding over the ground.

4. Add pulse or bubble accents sparingly

Use secondary masks for occasional bright pockets, bubbles, or pressure pulses. These should be timed and sparse, especially on large surfaces.

5. Keep heat distortion separate

Heat haze is often better as a separate translucent plane or Niagara sprite above the lava. Mask it near hot cracks and reduce it in background instances.

6. Tune with bloom off, then on

First make the mask readable without bloom. Then enable bloom and reduce emission until the hot shape is enhanced, not erased.

05

Artist Controls

06

HLSL Sketch

float crust = Texture2DSample(crustTex, crustSampler, uv).r;
float cracks = 1.0 - crust;

float2 flowUV = uv + flowDir * time * flowSpeed;
float flow = Texture2DSample(noiseTex, noiseSampler, flowUV).r;
float heatMask = saturate(cracks + flow * flowInfluence);

float core = smoothstep(coreMin, coreMax, heatMask);
float3 heatColor = lerp(coolCrackColor, hotCrackColor, core);
float3 crustColor = baseCrustColor * lerp(1.0, crustDarkness, crust);
return float4(crustColor + heatColor * heatMask * heatEmission, 1.0);

07

Senior Notes

Bloom should not hide the mask

Tune lava without bloom first. Bloom should enhance the hot cracks, not turn the whole floor into a soft orange blur.

Hazard readability beats realism

If this is gameplay lava, the boundary and danger state must survive camera distance, post-processing, and combat effects. Sometimes a less realistic but clearer edge is the right call.

Separate hero and background instances

Hero lava can afford extra noise, pulse masks, and distortion. Background lava should use fewer samples and simpler motion because it covers large screen area.

08

Common Mistakes

  • Making the whole lava surface equally bright, which destroys heat hierarchy.
  • Moving the crack mask too fast so magma reads like fire.
  • Using heat distortion everywhere by default instead of masking it to hot zones.
  • Forgetting gameplay boundary readability around the lava edge.
  • Tuning only with bloom enabled and never checking the actual emission mask.