From 75e09e235ed67424cafcff0cd8fc44a4be2ca739 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 16 Oct 2021 19:09:47 +0300 Subject: [PATCH] Set a sane default value for ground albedo in Sky::Planet --- source/effects/sky.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- 2.45.2