From: Mikko Rasa Date: Wed, 5 May 2021 15:04:51 +0000 (+0300) Subject: Re-export desert pillars data with ambient light X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;ds=sidebyside;h=a6923e6315d5b91a0641dfcde653a897e8afeb1f;hp=40db45bc521aa8cc154d745ef4b51c1358124ad3;p=libs%2Fgl.git Re-export desert pillars data with ambient light --- diff --git a/demos/desertpillars/data/exported/Desert.lightn b/demos/desertpillars/data/exported/Desert.lightn index 30ca7478..25144b2e 100644 --- a/demos/desertpillars/data/exported/Desert.lightn +++ b/demos/desertpillars/data/exported/Desert.lightn @@ -1 +1,2 @@ +ambient 0.320000 0.480000 0.880000; light "Sun.light"; diff --git a/demos/desertpillars/source/desertpillars.cpp b/demos/desertpillars/source/desertpillars.cpp index fc70af11..5f3b29b1 100644 --- a/demos/desertpillars/source/desertpillars.cpp +++ b/demos/desertpillars/source/desertpillars.cpp @@ -43,7 +43,6 @@ DesertPillars::DesertPillars(int, char **): step->set_depth_test(&GL::DepthTest::lequal()); shadow_map = make_unique(shadow_size, *sky, sun, *shadow_seq); - shadow_map->set_darkness(0.9f); shadow_map->set_target(GL::Vector3(0.0f, 0.0f, 0.0f), 20.0f); GL::SequenceBuilder seq_bld(resources.get("Desert.seq"));