lighting_2d
2D: the scene's light settings (one per scene, usually on the camera): ambient light, time_of_day (a day-night cycle: ambient and a sun or moon follow the clock), bloom on glowing parts, lit_by_default (light everything without a material_2d: an existing scene goes to night with one switch) and the light budgets.
In scene text
lighting_2d { shadow_style "…" penumbra 1 ambient (1, 0.8, 0.6) }Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.
Fields 10
| Field | Type | Unit / range | What it does |
|---|---|---|---|
shadow_style | text | — | volume |
penumbra | number | units, 0 … 64 | Soft shadow filter radius; zero keeps volumes hard. |
ambient | colour (r, g, b) | — | The base light colour (white: art as painted; deep blue: night). |
ambient_intensity | number | 0 … 16 | How strong the base light is. |
lit_by_default | true / false | — | Light everything without a material_2d (not HUD or additive glows). |
time_of_day | number | h, -1 … 24 | Hours (0...24; -1 off): ambient and a sun or moon follow the clock. |
bloom | number | 0 … 8 | Bloom strength on glowing (emissive) parts (0 off). |
bloom_radius | number | 0.1 … 8 | Bloom size (1 normal). |
max_lights | number | 1 … 16 | Most lights drawn at once. |
max_shadowed | number | 0 … 4 | Most shadow-casting lights at once. |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us