Use geometry shaders for icon and polygon thresholds, fix threshold method to map distance for placefile text

This commit is contained in:
Dan Paulat 2023-08-18 00:42:55 -05:00
parent 69f93d6faf
commit 12833202b7
7 changed files with 174 additions and 100 deletions

View file

@ -30,6 +30,8 @@ public:
GLuint id() const;
GLint GetUniformLocation(const std::string& name);
bool Load(const std::string& vertexPath, const std::string& fragmentPath);
bool Load(std::initializer_list<std::pair<GLenum, std::string>> shaderPaths);