bring in support for multiresolution volume rendering

This commit is contained in:
Emil Axelsson
2016-04-11 16:56:44 +02:00
parent 90f3193236
commit 4ff0205eae
52 changed files with 7057 additions and 49 deletions

View File

@@ -220,12 +220,12 @@ void FramebufferRenderer::updateResolution() {
glTexImage2D(
GL_TEXTURE_2D,
0,
GL_RGBA,
GL_RGBA16,
GLsizei(_resolution.x),
GLsizei(_resolution.y),
0,
GL_RGBA,
GL_BYTE,
GL_UNSIGNED_SHORT,
nullptr);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);