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

@@ -307,7 +307,7 @@ void RenderablePlane::loadTexture() {
// Textures of planets looks much smoother with AnisotropicMipMap rather than
// linear
texture->setFilter(ghoul::opengl::Texture::FilterMode::Linear);
texture->setFilter(ghoul::opengl::Texture::FilterMode::LinearMipMap);
_texture = std::move(texture);