Commit e615a03814f925aa42c59e091a333c347c6537f0

Authored by Pavel Govyadinov
1 parent 18d40647

Added directional sampling around the spider's direction. All placed into the same buffer

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -375,7 +375,7 @@ renderScene() @@ -375,7 +375,7 @@ renderScene()
375 glBindTexture(GL_TEXTURE_2D, 0);*/ 375 glBindTexture(GL_TEXTURE_2D, 0);*/
376 glBindFramebuffer(GL_READ_FRAMEBUFFER, spidey.getFB()); 376 glBindFramebuffer(GL_READ_FRAMEBUFFER, spidey.getFB());
377 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); 377 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
378 - glBlitFramebuffer(0,0,400,200, 0, 0, 400, 200, GL_COLOR_BUFFER_BIT, GL_NEAREST); 378 + glBlitFramebuffer(0,0,800,400, 0, 0, 800, 400, GL_COLOR_BUFFER_BIT, GL_NEAREST);
379 CHECK_OPENGL_ERROR 379 CHECK_OPENGL_ERROR
380 //glBindFramebuffer(GL_FRAMEBUFFER,0); 380 //glBindFramebuffer(GL_FRAMEBUFFER,0);
381 //glBindTexture(GL_TEXTURE_3D, texID); 381 //glBindTexture(GL_TEXTURE_3D, texID);