This code demonstrates the bug in framebuffers with the shadows.
This commit is contained in:
parent
6235bfb657
commit
5577ab0f0b
7 changed files with 50 additions and 61 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue