From 6ad6d935d8a601908d49a82fb56f1f2c14871573 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 24 Dec 2024 15:07:32 +0000 Subject: Enable min mipmap on network texture --- game/network/network.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'game') diff --git a/game/network/network.cpp b/game/network/network.cpp index 6ba3ed6..1666c4d 100644 --- a/game/network/network.cpp +++ b/game/network/network.cpp @@ -8,7 +8,13 @@ #include #include -Network::Network(const std::string & tn) : texture {std::make_shared(tn)} { } +Network::Network(const std::string & tn) : + texture {std::make_shared(tn, + TextureOptions { + .minFilter = GL_NEAREST_MIPMAP_LINEAR, + })} +{ +} Node::Ptr Network::nodeAt(GlobalPosition3D pos) -- cgit v1.2.3