drag to orbit
Nature · Still
Lava Rock
A heap of black volcanic rock split by glowing cracks, with a small molten pool and crust plates at its foot. Glow colour and how far it has cooled are knobs; the cracks and pool light up at night. 0.5 m to 4 m, seeded so no two match.
- Size
- 3.5 × 1.1 × 3.6 m
- Triangles
- 1,312
- Kit
- Biomes
Tune it
4 knobs: Size, Glow colour, Cooled, Seed.
Specs
- Size
- 3.5 × 1.1 × 3.6 m width × height × depth
- Triangles
- 1,312 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 4 3 presets
- Night lights
- 1 lava
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/lava-rock.mjs';
const lavaRock = createAsset();
scene.add(lavaRock); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/lava-rock.mjs';
export function LavaRock() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import lava-rock.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://lava-rock.glb").instantiate())// Import lava-rock.glb with glTFast (com.unity.cloud.gltfast).
// Drop it in the scene: 1 unit = 1 metre, +Z is its front.Use the gaitkit MCP server: get_variant({ "id": "lava-rock", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
size | range | 0.5 to 4, step 0.1 | 1.6 | Width of the main rock in metres. 0.5 is a smouldering stone, 4 a lava outcrop. |
glow | choice | orange red gold blue | orange | Colour of the molten cracks and pool: orange (classic lava), red (deep magma), gold (white-hot), blue (sulphur fire, fantasy). |
cooled | range | 0 to 1, step 0.05 | 0.3 | How far the lava has cooled. 0 is freshly molten with wide cracks and an open pool, 1 is cold black rock dusted with ash and no glow at all. |
seed | range | 1 to 50, step 1 | 2 | Changes the rock shapes, where the cracks run and the pool outline. Scatter with different seeds so no two match. |
Presets: fresh flow {"cooled":0,"size":2.4} · cold basalt {"cooled":1} · sulphur vent {"glow":"blue","cooled":0.2,"seed":14}
Files
| File | What |
|---|---|
| lava-rock.glb | GLB, default look · 230 KB |
| lava-rock.mjs | ES module, every knob live |
| lava-rock.obj | OBJ, static, no colour |
| lava-rock-params.json | knob schema, presets, night zones |
Licence
Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.