flame
A real flame: a candle, an oil lamp, a torch or a fire (campfire, fireplace). It burns as a flame (a blue root, a darker cone over the wick, a white-yellow core, an orange rim, licking and flickering, leaning in a draft) and lights the scene with its own light, flickering and swaying in step with it and casting shadows, with hot air shimmering above. Put it where the wick (or the burning wood) is.
In scene text
flame { kind "…" size 1 flicker 1 }Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.
Fields 12
| Field | Type | Unit / range | What it does |
|---|---|---|---|
kind | text | — | candle, lamp (an oil lamp's flame), torch (a few tongues), fire (a campfire or fireplace), muzzle (a gun's flash along the object's +Z). |
size | number | m, 0 … 4 | Flame height (0: the kind's: candle 0.03, lamp 0.045, torch 0.28, fire 0.6). |
flicker | number | 0 … 1 | 0 steady ... 1 guttering. |
draft_direction | number | deg, 0 … 360 | Compass direction the draft leans it toward. |
draft | number | m/s, 0 … 10 | How hard the draft blows (0 still air). |
light | number | lm, 0 … 100000 | Light it gives (0: the kind's: candle 12, lamp 30, torch 450, fire 3000). |
temperature | number | K, 0 … 4000 | Colour temperature (0: the kind's: candle 1850, lamp 1950, torch 1700, fire 1600). |
shadows | true / false | — | Its light casts shadows. |
enabled | true / false | — | Burning (off: put out). |
baked | true / false | — | Its light baked into the light_volume around it as a flicker layer: worked out once from where it rests (real shadows), then scaled by the flame's flicker each frame, instead of a lamp shaded per pixel with a shadow map redrawn as things move past it. |
bed_width | number | m, 0 … 10 | A fire's bed across (a grate, a campfire's logs), turned with the object: the tongues spread along it (0: round). |
bed_depth | number | m, 0 … 10 | A fire's bed front to back. |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us