private void hsAmbient_Scroll(object sender, ScrollEventArgs e) { ambient = (float)hsAmbient.Value / 100f; SetSun(); }