mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user