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 10

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.
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.
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us
Download Arcwright free