mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
Solve interpolation issue at egde of texture (closes issue #1430)
This commit is contained in:
@@ -159,6 +159,7 @@ bool RenderableOrbitDisc::isReady() const {
|
||||
void RenderableOrbitDisc::initialize() {
|
||||
_texture = std::make_unique<TextureComponent>();
|
||||
_texture->setFilterMode(ghoul::opengl::Texture::FilterMode::AnisotropicMipMap);
|
||||
_texture->setWrapping(ghoul::opengl::Texture::WrappingMode::ClampToEdge);
|
||||
_plane = std::make_unique<PlaneGeometry>(planeSize());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user