Sky colour flickers at low sun altitudes when driven via the Weather API
Author: AperissCreated Sep 15, 2026Updated Sep 17, 2026
Setup
- CARLA version: ue58-dev @ 5684efc31 with #9883 applied
- Platform: Ubuntu 24.04.4 LTS
- Python version: 3.12.13
- GPU: NVIDIA GeForce RTX 3090
- GPU Drivers: 580.173.02
- Map: Town10HD_Opt
Describe the bug Driving the sun through the weather API makes the sky colour flicker, at low sun altitudes.
Steps to reproduce Rotate the sun through carla.WeatherParameters at a low altitude on Town10HD_Opt.
Expected behavior Sun movement should produce a continuous change in sky colour.
Logs
Scripts import time import carla
world = carla.Client('localhost', 2000).get_world() weather = world.get_weather() weather.sun_altitude_angle = 2.0
while True: weather.sun_azimuth_angle = (weather.sun_azimuth_angle + 0.5) % 360.0 world.set_weather(weather) time.sleep(0.1)
Screenshots
Additional context
Source: carla-simulator/carla