From: Mikko Rasa Date: Sat, 16 Oct 2021 16:09:47 +0000 (+0300) Subject: Set a sane default value for ground albedo in Sky::Planet X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=75e09e235ed67424cafcff0cd8fc44a4be2ca739;p=libs%2Fgl.git Set a sane default value for ground albedo in Sky::Planet --- diff --git a/source/effects/sky.cpp b/source/effects/sky.cpp index 158606f8..855509d1 100644 --- a/source/effects/sky.cpp +++ b/source/effects/sky.cpp @@ -163,7 +163,8 @@ Sky::Planet::Planet(): ozone_band_center(1e4f), ozone_band_extent(1e2f), atmosphere_thickness(2e4f), - planet_radius(1e6f) + planet_radius(1e6f), + ground_albedo(0.2f) { } Sky::Planet Sky::Planet::earth()