This code demonstrates the bug in framebuffers with the shadows.

This commit is contained in:
Zed A. Shaw 2026-09-19 20:08:24 -04:00
parent 6235bfb657
commit 5577ab0f0b
7 changed files with 50 additions and 61 deletions

View file

@ -135,7 +135,7 @@ void update(GLFWwindow* window, std::shared_ptr<Scene> scene) {
void render(GLFWwindow* window, std::shared_ptr<Scene> scene, Text &text) {
scene->render(window);
text.render(text_content, 25.0f, 25.0f, 1.0f, glm::vec3(1.0, 0.0f, 0.0f));
// text.render(text_content, 25.0f, 25.0f, 1.0f, glm::vec3(1.0, 0.0f, 0.0f));
glfwSwapBuffers(window);
}