OptionalenvReflected environment (default: the scene's environment, followed each frame; null: the lighting's sky colour).
OptionallightingSun and sky light (default: one per surface, filled from the scene each frame).
OptionalmaterialName of the solver material that is lava (compiled into the solver).
OptionalrefReceives the MPMLavaImpl instance (emit through its vent gate with emit).
OptionalrenderThe screen-space surface: particle spheres → depth → bilateral smoothing → normals, shaded with the lava field.
Optionalclasts?: numberClinker: each crack cell is a clast tilted at random up to this much (0 a continuous skin, 1 rubble).
Optionalcracks?: numberGlow of the crust's crack network, 0…1: cooling-joint cells of crackSize whose edges, crackWidth wide, glow at the
melt temperature under the crust (dark where the lava below has cooled too), and of crust cracks opening in the flow.
OptionalcrackSize?: numberCrack cell size, metres (pāhoehoe crust plates ~0.3 m, ʻaʻā clinker ~0.1 m).
OptionalcrackWidth?: numberCrack width, metres.
Optionalcrust?: stringBasalt albedo, #rrggbb (sRGB; ~0.05 linear).
Optionalintensity?: numberEmission scale (1: against a noon sun of intensity 3, 1400 K lava has radiance LAVA_GLOW_1400).
Optionaliterations?: numberSmoothing passes (each a horizontal and a vertical blur), 0…4.
Optionalradius?: numberSphere radius of a particle, in particle spacings (Δx / 2). About 1.3 makes neighbours overlap into one surface.
Optionalresolution?: numberResolution of the offscreen passes relative to the drawing buffer (0.25…1).
OptionalropeLength?: numberRope spacing, metres.
Optionalropes?: numberRopy folds of the cooled skin (pāhoehoe), 0…1: ridges across the surface flow, where the skin has gone dark.
Optionalroughness?: numberCrust roughness: glassy pāhoehoe skin ~0.5, clinkery ʻaʻā ~0.9.
Optionalsmoothing?: numberDepth smoothing radius, in sphere radii: large for smooth pāhoehoe skin, small to keep ʻaʻā clinker lumpy.
The solver (from <MPM ref>); materials must include material (default lava).
OptionaltimeSeconds simulated per frame (default: the frame's delta).
Props of
<MPMLava>: every LavaInput setting plus the ones below.