Comment
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user