Fixed shading in deferred.
Added sky in deferred. Started render buffer abstraction
This commit is contained in:
@@ -93,11 +93,6 @@ namespace Nuake {
|
||||
Renderer::m_ShadowmapShader->Bind();
|
||||
}
|
||||
|
||||
void LightComponent::DrawDeferred(TransformComponent transformComponent, Camera* cam)
|
||||
{
|
||||
Renderer::RegisterDeferredLight(transformComponent, *this, cam);
|
||||
}
|
||||
|
||||
void LightComponent::DrawEditor() {
|
||||
ImGui::TextColored(ImGui::GetStyleColorVec4(1), "Light properties");
|
||||
ImGui::ColorEdit3("Light Color", &Color.r);
|
||||
|
||||
Reference in New Issue
Block a user