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

FieldTypeUnit / rangeWhat it does
shadow_styletext—volume
penumbranumberunits, 0 … 64Soft shadow filter radius; zero keeps volumes hard.
ambientcolour (r, g, b)—The base light colour (white: art as painted; deep blue: night).
ambient_intensitynumber0 … 16How strong the base light is.
lit_by_defaulttrue / false—Light everything without a material_2d (not HUD or additive glows).
time_of_daynumberh, -1 … 24Hours (0...24; -1 off): ambient and a sun or moon follow the clock.
bloomnumber0 … 8Bloom strength on glowing (emissive) parts (0 off).
bloom_radiusnumber0.1 … 8Bloom size (1 normal).
max_lightsnumber1 … 16Most lights drawn at once.
max_shadowednumber0 … 4Most shadow-casting lights at once.
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us
Download Arcwright free