From d5515c9d0efd57348d50e450f5632cdf0ffeca73 Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 8 Jun 2020 13:00:45 +0200 Subject: cleaned up and updated animviewer; fixed animation bug --- src/core/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/main.cpp') diff --git a/src/core/main.cpp b/src/core/main.cpp index 2ea15589..d6837ba9 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1240,7 +1240,7 @@ TheModelViewer(void) CTimer::Update(); SetLightsWithTimeOfDayColour(Scene.world); CRenderer::ConstructRenderList(); - DoRWStuffStartOfFrame(CTimeCycle::GetSkyTopRed(), CTimeCycle::GetSkyTopGreen(), CTimeCycle::GetSkyTopBlue(), + DoRWStuffStartOfFrame(CTimeCycle::GetSkyTopRed()*0.5f, CTimeCycle::GetSkyTopGreen()*0.5f, CTimeCycle::GetSkyTopBlue()*0.5f, CTimeCycle::GetSkyBottomRed(), CTimeCycle::GetSkyBottomGreen(), CTimeCycle::GetSkyBottomBlue(), 255); -- cgit v1.2.3