mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-16 12:49:59 +01:00
BugFix ImageFilters Repair filters
Use of secondary texture in image shader (renamed from mask texture) in image filters for ichannel_1 as texture of display loopback only if not needed otherwise (e.g. input image needed in Sharpen filter).
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#ifndef IMAGESHADER_H
|
||||
#define IMAGESHADER_H
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "Shader.h"
|
||||
@@ -18,7 +16,7 @@ public:
|
||||
void accept(Visitor& v) override;
|
||||
void copy(ImageShader const& S);
|
||||
|
||||
uint mask_texture;
|
||||
uint secondary_texture;
|
||||
|
||||
// uniforms
|
||||
float stipple;
|
||||
|
||||
Reference in New Issue
Block a user