WIP
This commit is contained in:
@@ -244,6 +244,16 @@ void RenderSystem::Update(double dt)
|
||||
RenderScene scene;
|
||||
scene.Camera = m_Camera;
|
||||
scene.Viewport = Rectangle(1280, 720);
|
||||
|
||||
//auto cSceneLight = m_Renderer->m_World->GetComponents("SceneLight");
|
||||
//if (cSceneLight != nullptr) {
|
||||
// m_Gamma = (double)(*cSceneLight->begin())["Gamma"];
|
||||
// m_Exposure = (double)(*cSceneLight->begin())["Exposure"];
|
||||
//}
|
||||
|
||||
//scene.ambient
|
||||
//scene.gamma
|
||||
//scene.exponent
|
||||
fillModels(scene.OpaqueObjects, scene.TransparentObjects);
|
||||
fillPointLights(scene.PointLightJobs, m_World);
|
||||
fillDirectionalLights(scene.DirectionalLightJobs, m_World);
|
||||
|
||||
Reference in New Issue
Block a user