Baltor Get started

Gallery / Blender tools

Physical sky with a matching sun lamp

In your harnessBlender toolMIT

Build a physical sky world and a sun lamp whose direction matches the sky's sun exactly, from one elevation and compass bearing, with the sky's sun disc off so the lamp gives sharp direct light. Use it for exteriors, architecture and time-of-day studies.

Render of Physical sky with a matching sun lamp
The render its check recorded in Blender 5.2.1, 192 by 192 pixels.

What it takes and gives

Operator
baltor.world_sky_sun
Parameters
elevation, azimuth, sun_strength, sun_angle, world_strength, sky_sun_disc, air_density, haze
Result
A world named Baltor Sky set as the scene world, and a sun lamp named Baltor Sky Sun.
Blender
4.2 or later
Axes
Blender Z up, -Y forward
Units
metres

Limits. The bearing convention (clockwise from +Y, as the Sky Texture sun rotation) was measured on Blender 5.2.1 only. Uses the multiple scattering sky where Blender offers it and the Nishita sky otherwise; their colours differ. Lamp strength is a free parameter, not derived from the sky model, so sky and sun brightness are balanced by eye. Rendered here with Cycles CPU only. Verified in Blender 5.2.1; written for the 4.2 API.

Details

Kind
Blender tool
Engine
Blender 4.2 or later
Files
11 files, 126.1 KB
Licence
MIT
Declared effects
runs commands
Checked with
Blender 5.2.1, background (Cycles CPU for previews)
Checks
addon install and enable, operator runs with defaults, blender data matches core, addon disable unregisters, script mode runs, clean reopen addon file, clean reopen script file, gltf separate export, engine output clean
Techniques
Sun direction from elevation and bearing on the unit sphere, Light rotation that points a lamp's -Z axis along a direction, Equirectangular panorama render used to measure the sky's sun convention
Tags
blender, world, sky, sun, lighting, exterior, time of day
Identity
library.supply.creative_originals.80e062a5ee7842e5a8e53617.0da223c3721f3cf4
Version
0da223c3721f3cf43b33daebaaa4b7e4d454e1b303a3e74b1df03a1be7114322

The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.

Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.