From e615a03814f925aa42c59e091a333c347c6537f0 Mon Sep 17 00:00:00 2001 From: Pavel Govyadinov Date: Wed, 27 May 2015 17:41:27 -0500 Subject: [PATCH] Added directional sampling around the spider's direction. All placed into the same buffer --- TextureTest.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TextureTest.cu b/TextureTest.cu index 73a4d59..3bd5b4f 100644 --- a/TextureTest.cu +++ b/TextureTest.cu @@ -375,7 +375,7 @@ renderScene() glBindTexture(GL_TEXTURE_2D, 0);*/ glBindFramebuffer(GL_READ_FRAMEBUFFER, spidey.getFB()); glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); - glBlitFramebuffer(0,0,400,200, 0, 0, 400, 200, GL_COLOR_BUFFER_BIT, GL_NEAREST); + glBlitFramebuffer(0,0,800,400, 0, 0, 800, 400, GL_COLOR_BUFFER_BIT, GL_NEAREST); CHECK_OPENGL_ERROR //glBindFramebuffer(GL_FRAMEBUFFER,0); //glBindTexture(GL_TEXTURE_3D, texID); -- libgit2 0.21.4