feat: light rendering

This commit is contained in:
2025-10-08 18:36:46 +02:00
parent fefe273fce
commit 42d5def07e
2 changed files with 10 additions and 0 deletions

View File

@ -75,6 +75,8 @@ void Renderer::Render(entt::registry& registry) {
return;
}
m_shader.setBool("isLight", registry.all_of<light>(entity));
m_model = glm::mat4(1.0f);
// Apply translation