Fixed Shader imageprocessing.

This commit is contained in:
brunoherbelin
2020-04-28 11:47:04 +02:00
parent 917c184dad
commit 8cc6da98ba
9 changed files with 100 additions and 96 deletions

View File

@@ -35,11 +35,11 @@ public:
// chroma key
glm::vec4 chromakey;
float chromadelta;
// filter
// filter identifyer
// [0] No filter
// [1 4] 4 x kernel operations; Blur, Sharpen, Edge, Emboss
// [5 10] 6 x convolutions: erosion 3, 5, 7, dilation 3, 5, 7
int filter;
int filterid;
};