From 23f3c36d53b28e2142100798002cbace04233251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C5=82os?= Date: Sat, 5 Jan 2019 21:21:12 +0100 Subject: [PATCH] removed Phong AmbientLightComponent, ambient lighting is done by Skybox IBL now --- SGJ2018Game/SGJ18/Src/Game.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SGJ2018Game/SGJ18/Src/Game.cpp b/SGJ2018Game/SGJ18/Src/Game.cpp index 120abf9..10aa548 100644 --- a/SGJ2018Game/SGJ18/Src/Game.cpp +++ b/SGJ2018Game/SGJ18/Src/Game.cpp @@ -117,10 +117,6 @@ void Game::InitDebugAnimation() DeferredTaskSystem::AddWorldComponentImmediate(world, "HDR/HDR.hdr", eResourceSource::GAME); - DeferredTaskSystem::AddWorldComponentImmediate(world); - - world->GetWorldComponent()->SetColor(Color(0.2f, 0.5f, 1.0f)); - world->GetWorldComponent()->SetIntensity(0.1f); Quaternion DirLightRot = Quaternion(Vector::UNIT_Y, 80_deg) * Quaternion(Vector::UNIT_X, -80_deg); Entity* directionalLight = DeferredTaskSystem::SpawnEntityImmediate(world);