Updated Image Processing shader and GUI: gamma color processing follows

HSV transform. new Shader assignment operator.
This commit is contained in:
brunoherbelin
2020-06-06 17:59:21 +02:00
parent 000728b708
commit 4261dedff1
10 changed files with 68 additions and 22 deletions

View File

@@ -41,7 +41,6 @@ class Shader
public:
Shader();
// virtual ~Shader() {}
// unique identifyer generated at instanciation
inline int id () const { return id_; }
@@ -50,6 +49,8 @@ public:
virtual void reset();
virtual void accept(Visitor& v);
void operator = (const Shader &D );
glm::mat4 projection;
glm::mat4 modelview;
glm::vec4 color;