Feature/mipmapping (#454)

* Enable mipmapping for textures where it was previously disabled

* Fix mipmapping for renderable projections
This commit is contained in:
Emil Axelsson
2018-01-09 17:52:34 +01:00
committed by GitHub
parent a0218dcbbd
commit 2758b35dec
20 changed files with 84 additions and 55 deletions

View File

@@ -394,7 +394,7 @@ void RenderableSphere::loadTexture() {
// linear
// TODO: AnisotropicMipMap crashes on ATI cards ---abock
//texture->setFilter(ghoul::opengl::Texture::FilterMode::AnisotropicMipMap);
texture->setFilter(ghoul::opengl::Texture::FilterMode::Linear);
texture->setFilter(ghoul::opengl::Texture::FilterMode::LinearMipMap);
_texture = std::move(texture);
}