directional_light

Sunlight: parallel light from one direction, with shadows.

In scene text

directional_light { azimuth 1  elevation 1  intensity 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

FieldTypeUnit / rangeWhat it does
azimuthnumberdegCompass direction the sun shines from (0 = north, 90 = east).
elevationnumberdeg, -90 … 90Height of the sun above the horizon.
intensitynumber0 … 100Brightness (about 3 for a clear afternoon).
colorcolour (r, g, b)—Tint on top of the natural color from the sun's height. White keeps it natural.
softnessnumberdeg, 0 … 12How wide the sun or moon appears, for soft shadows: a shadow stays crisp where its caster touches and widens with the gap (about 1.7 cm per metre per degree), on surfaces and in the light shafts (camera_look volumetrics). 0 the plain crisp filter; 0.5 the real sun; 2-6 light through net curtains, dirty glass or thin cloud, as window light falls across a room.
moonnumber0 … 4Moonlight once the sun is down: 0 a moonless or overcast night, 1 a clear full-moon night (lights the scene blue, casts shadows, lights the sky and the haze).
moon_phasenumber0 … 1Share of the moon's disc that is lit: 0 new moon, 0.5 half moon, 1 full moon. A thinner moon gives less light.
moon_azimuthnumberdegCompass direction of the moon (0 = north, 90 = east). Leave out (with moon_elevation) to keep it opposite the sun.
moon_elevationnumberdeg, -90 … 90Height of the moon above the horizon. A night scene: sun elevation -12 or lower, moon_elevation 20-50.
starsnumber0 … 2Star brightness at night: 0 none (city glow), 1 a clear country sky. A bright moon washes the faint ones out.
city_glownumber0 … 2Light pollution at night: 0 wilderness (dark), 1 a town, 2 a big city: a warm glow in the air and on the clouds, brightest toward the horizon, that lights every face a little.
night_glownumber0 … 4The night's own glow (airglow and starlight) on every face, in the sky and in the mist: 1 the usual readable night (a moonless scene is a deep blue-grey, never black), 0 a truly dark night where only the moon and lamps light anything. Set it near 0 when the camera opens far up for the dark (a body camera by torch light, exposure +5 or more): the full glow then shows as a flat grey-blue light over the whole scene.
Arcwright Beta 3 (0.5.0) · generated from the engine source (026429ab6)Something wrong or missing? Tell us
Download Arcwright free