Shadows working but look dumb. The issue so far was that framebuffer.cpp interferes with the framebuffer used to create the shadow map.
This commit is contained in:
parent
a29494325b
commit
482ec07fb3
19 changed files with 261 additions and 206 deletions
|
|
@ -60,7 +60,7 @@ void FrameBuffer::commit() {
|
|||
}
|
||||
|
||||
void FrameBuffer::draw(Screen& screen) {
|
||||
glClearColor(1.0f, 0.0f, 0.0f, 1.0f);
|
||||
glClearColor(0.0f, 1.0f, 0.0f, 1.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue