Adding UV texture coordinates to Surface and ImageShader.

This commit is contained in:
brunoherbelin
2020-11-12 22:07:00 +01:00
parent 7c5374552d
commit 11a58b5adf
5 changed files with 29 additions and 6 deletions

View File

@@ -16,7 +16,6 @@ class ImageShader : public Shader
public:
ImageShader();
// virtual ~ImageShader() {}
void use() override;
void reset() override;
@@ -27,6 +26,7 @@ public:
uint mask;
uint custom_textureindex;
float stipple;
glm::vec4 uv;
static const char* mask_names[11];
static std::vector< uint > mask_presets;