This commit is contained in:
Tleety
2016-02-01 18:23:40 +01:00
parent a188a3f7fa
commit 782c1a388a
+1 -3
View File
@@ -25,9 +25,7 @@ void EditorRenderSystem::Update(double dt)
auto cSceneLight = m_World->GetComponents("SceneLight");
if (cSceneLight != nullptr) {
//m_RenderFrame->Gamma = (double)(*cSceneLight->begin())["Gamma"];
//m_RenderFrame->Exposure = (double)(*cSceneLight->begin())["Exposure"];
//scene.AmbientColor = (glm::vec4)(*cSceneLight->begin())["AmbientColor"];
//these are hardcoded since they want special light treatment and a component just for widgets is stupid.
m_RenderFrame->Gamma = 2.2;
m_RenderFrame->Exposure = 1.0;
scene.AmbientColor = glm::vec4(0.8, 0.8, 0.8, 1.0);