Separate shader for image processing and simple texture display.

ImageShader added a second texture for mask blending. Cleanup of User
Interface windows.
This commit is contained in:
brunoherbelin
2020-04-27 13:44:20 +02:00
parent 1d9e955bfa
commit d248df0567
22 changed files with 303 additions and 210 deletions

View File

@@ -12,12 +12,12 @@ public:
ImageProcessingShader();
virtual ~ImageProcessingShader() {}
virtual void use();
virtual void reset();
virtual void accept(Visitor& v);
void use() override;
void reset() override;
void accept(Visitor& v) override;
// textures resolution
glm::vec3 iChannelResolution[2];
// // textures resolution
// glm::vec3 iChannelResolution[2];
// color effects
float brightness; // [-1 1]