Frustum culling progress

Unlit materials
Renderer cleanup
This commit is contained in:
Antoine Pilote
2021-07-14 22:10:05 -04:00
parent 2b88ee09e3
commit 8ecab5c3ad
16 changed files with 394 additions and 32 deletions

View File

@@ -26,7 +26,6 @@ namespace Nuake {
// m_Framebuffers[i] = CreateRef<FrameBuffer>(false, glm::vec2(4096, 4096));
// m_Framebuffers[i]->SetTexture(CreateRef<Texture>(glm::vec2(4096, 4096), GL_DEPTH_COMPONENT), GL_DEPTH_ATTACHMENT);
//}
}
void LightComponent::SetCastShadows(bool toggle)
@@ -94,11 +93,6 @@ namespace Nuake {
Renderer::m_ShadowmapShader->Bind();
}
void LightComponent::Draw(TransformComponent transformComponent, Ref<Camera> cam)
{
}
void LightComponent::DrawDeferred(TransformComponent transformComponent, Camera* cam)
{
Renderer::RegisterDeferredLight(transformComponent, *this, cam);