From 444990a26286a3753a414942b3219a3549339015 Mon Sep 17 00:00:00 2001 From: Wellinator Date: Fri, 9 Apr 2021 13:16:50 -0300 Subject: [PATCH] Change background color --- src/samples/cube/cubes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/samples/cube/cubes.cpp b/src/samples/cube/cubes.cpp index 3e61895..808e942 100644 --- a/src/samples/cube/cubes.cpp +++ b/src/samples/cube/cubes.cpp @@ -28,9 +28,9 @@ void Cubes::onUpdate(){ void Cubes::setBgColorAndAmbientColor() { color_t bgColor; - bgColor.r = 0x50; - bgColor.g = 0x50; - bgColor.b = 0x50; + bgColor.r = 0x20; + bgColor.g = 0x20; + bgColor.b = 0x20; engine->renderer->setWorldColor(bgColor); Vector3 ambient = Vector3(0.2F, 0.2F, 0.2F); engine->renderer->setAmbientLight(ambient);