point_light

A light at the object's position: in every direction (a bulb, a fire), or a spotlight cone (a flashlight, a headlight) when cone is set.

In scene text

point_light { color (1, 0.8, 0.6)  intensity 1  range 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 25

FieldTypeUnit / rangeWhat it does
colorcolour (r, g, b)—Light color, 0...1 per channel.
intensitynumberlm, 0 … 1Brightness in lumens, as on a real bulb's box: a candle 12, a 40 W bulb 450, a 60 W bulb 800, a 100 W bulb or a work lamp 1600, a street lamp up its pole 5000 to 10000. Indoors and close to things a few hundred to 1600 is plenty: 9000 lm two metres from a bench burns it white while the room stays dark.
rangenumberm, 0.1 … 500Distance where the light fades out.
conenumber°, 0 … 179Spotlight cone, full angle in degrees (a flashlight is about 35, a headlight 50); 0 shines in every direction. It points along the object's +Z: rotate the object to aim it, rotation (90, 0, 0) points down.
softnessnumber0 … 1Spotlight edge: 0 hard, 1 fades from the centre.
lengthnumberm, 0 … 50A tube light this long along the object's +X (fluorescent tubes about 1.2): long soft pools of light and long highlights on wet or glossy surfaces. 0 is a point.
widthnumberm, 0 … 50With length, a glowing rectangle this wide along +Y (light panel, window, screen), shining toward +Z.
room_center(x, y, z)mWorld-space centre of the light room box, independent of lamp placement.
room_size(x, y, z)—Full XYZ room box dimensions: all positive, or (0,0,0) to disable.
room_modetext—none
beamtext—auto
spillnumber0 … 0.45A reflector beam's wide spill in the same light: its strength as a share of the hot spot (a hand torch about 0.03 to 0.06; 0 none). With spill_cone. One light and one shadow map for beam and spill: never add a second lamp for a torch's spill.
spill_conenumber°, 0 … 179How wide the spill reaches, full angle in degrees (about 100 for a hand torch); wider than cone, which stays the beam's own.
shadowstrue / false—Casts shadows (a place in the shadow atlas among the lamps that do). false for fills that only lift the dark: a window's sky glow, a bounce card. They then cost no shadow map.
bakedtrue / false—Baked into the light_volume around it: a still lamp whose light on still things is precomputed (with real shadows) instead of shaded every frame, and needs no shadow map. Its brightness may still change (power on/off): the volume follows it. Leave moving or flickering lamps live.
emitter_radiusnumberm, 0 … 100Finite spherical emitter radius: soft near-field attenuation and shadow filtering for area-ish bulbs/panels; 0 is a point. Range is measured from the centre.
real_fallofftrue / false—The real inverse square law: light = strength / distance², so a bulb lights its own shade, table and the wall beside it strongly and the far wall weakly (a real lamp's pool). false: the engine's first lamps, strength / (distance² + 1): close surfaces get far less than real, the room is lit evenly. A light added with the tools has it on; one written in scene text without this line reads false (scenes saved before it existed keep their tuned look), so write real_falloff true on every lamp of new work. Turning it on in an old scene: surfaces within about a metre of the lamp get brighter (2 x at 1 m, 5 x at 50 cm), so lower the intensity or the exposure to taste.
strobenumberHz, 0 … 30A flashing light: flashes a second (0 steady). A patrol car's light bar: red and blue lamps at 2 with strobe_phase 0 and 0.5 and strobe_pulses 2; a beacon 1; an alarm 3.
strobe_phasenumber0 … 1Where in its cycle a flashing light starts: two lamps half a cycle apart (0 and 0.5) take turns.
strobe_onnumber0.01 … 1The share of each cycle a flashing light is lit.
strobe_pulsesnumber1 … 4Quick pulses in each lit share (2: a light bar's double flash).
flickernumber0 … 1A lamp on a failing or loaded supply: 0 steady; 0.3 a generator's bulbs (a ripple, slow surges, a short dip now and then as the load bites); 1 failing.
flicker_circuitnumber0 … 10000Lamps with the same circuit number (not 0) waver together, as the bulbs on one generator; 0: on its own.
flarenumber0 … 4Its lens flare when the camera's gameplay flares are on (camera_look flares): 1 by its brightness at the camera, 0 none (a fill light, a bounce card), more for a beacon or a glowing pickup.
airnumber0 … 1How strongly it lights the haze and mist it shines through (its light shaft): 1 as the air would; 0 none. Not set: 0.3 for a light tagged flashlight (a torch at the eye: the mist in front of the lens would otherwise glow like a wall over what the beam lights), 1 for the rest.
Arcwright Beta 3 (0.5.0) · generated from the engine source (026429ab6)Something wrong or missing? Tell us
Download Arcwright free