In [chapter 6 documentation](https://ahbejarano.gitbook.io/lwjglgamedev/chapter-06), `glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);` function call missing in `Render.render()` to clear the depth buffer.