Cave Entrance
A 4 x 4 m terrain tile with a rocky mound and a rough stone arch opening on +Z into a tunnel that fades to darkness, framed by boulders, with a gravel apron and optional glowing crystals at the mouth and inside. The opening is 1.6 to 2.8 m tall and the mound up to about 4.6 m; it settles back to the 0.4 m ground line on every edge, so it drops into a field of ground tiles.
- Size
- 4.0 × 4.1 × 4.0 m
- Triangles
- 1,860
- Kit
- Terrain
Tune it
4 knobs: Biome, Opening, Crystals, Seed.
Specs
- Size
- 4.0 × 4.1 × 4.0 m width × height × depth
- Triangles
- 1,860 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 4 3 presets
- Night lights
- 3 crystal, lava, glow
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/cave-entrance.mjs';
const caveEntrance = createAsset();
scene.add(caveEntrance); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/cave-entrance.mjs';
export function CaveEntrance() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import cave-entrance.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://cave-entrance.glb").instantiate())// Import cave-entrance.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": "cave-entrance", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
biome | choice | rock grass desert snow volcanic alien | grass | Shared by every Terrain piece: grass (grey rock with turf on top), rock (bare grey with moss), desert (orange sandstone), snow (blue-grey rock under snow), volcanic (black basalt), alien (blue rock on violet ground). |
size | range | 1.6 to 2.8, step 0.1 | 2.2 | Height of the cave mouth in metres (its width is about 0.85 of that). A person is 1.8 m. |
crystals | choice | none cyan violet amber green | cyan | Glowing crystal clusters at the mouth and on the tunnel walls: none, cyan, violet, amber or green. They glow at night. |
seed | range | 1 to 50, step 1 | 4 | Changes the mound, the crags round the arch, the boulders and the decor. |
Presets: amethyst grotto {"biome":"rock","crystals":"violet"} · desert hideout {"biome":"desert","crystals":"none","size":1.8} · ice cave {"biome":"snow","crystals":"cyan","size":2.6}
Files
| File | What |
|---|---|
| cave-entrance.glb | GLB, default look · 228 KB |
| cave-entrance.mjs | ES module, every knob live |
| cave-entrance.obj | OBJ, static, no colour |
| cave-entrance-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.