set_world_sky
Configure a procedural sky and sun to light a Blender scene with realistic daylight for any time of day, adjusting sun elevation, rotation, and intensity without image files.
Instructions
Light the scene with a physically based procedural sky and sun.
Realistic daylight for any time of day with no image file. Low sun elevation gives golden hour; negative gives dusk. Pair with AgX colour management (set_color_management) for natural results.
Args: sky_type: MULTIPLE_SCATTERING (most realistic, new in 5.0), SINGLE_SCATTERING, PREETHAM or HOSEK_WILKIE. sun_elevation: Sun height above the horizon in radians, -1.571 to 1.571. 0.26 (15 degrees) is mid-morning; 0.05 golden hour. sun_rotation: Sun direction around the vertical axis in radians. sun_intensity: Sun brightness multiplier, 0 to 1000. sun_disc: Show the sun itself in the sky. altitude: Viewer height in metres, 0 to 100000. air_density: Air molecules, 0 to 10. Higher is bluer. aerosol_density: Dust and haze, 0 to 10. Higher is hazier and warmer. ozone_density: Ozone, 0 to 10. Affects the blue at dusk. strength: Overall sky brightness, 0 to 1000.
Returns: Dict with the sky settings applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altitude | No | ||
| sky_type | No | MULTIPLE_SCATTERING | |
| strength | No | ||
| sun_disc | No | ||
| air_density | No | ||
| sun_rotation | No | ||
| ozone_density | No | ||
| sun_elevation | No | ||
| sun_intensity | No | ||
| aerosol_density | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||