Cleanup
This commit is contained in:
@@ -46,7 +46,7 @@ vec4 CIExyz_to_Lab(vec4 CIE) {
|
||||
}
|
||||
|
||||
float colorclose(vec4 col, vec4 key, float tola,float tolb) {
|
||||
/*decides if a color is close to the specified hue*/
|
||||
// Decides if a color is close to the specified hue
|
||||
float temp = sqrt(((key.g-col.g)*(key.g-col.g))+((key.b-col.b)*(key.b-col.b)));
|
||||
if (temp < tola) {return (0.0);}
|
||||
if (temp < tolb) {return ((temp-tola)/(tolb-tola));}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
uniform sampler2D tex_in;
|
||||
in vec2 ove_texcoord;
|
||||
out vec4 frag_color;
|
||||
|
||||
%1
|
||||
|
||||
void main() {
|
||||
vec4 col = texture2D(tex_in, ove_texcoord);
|
||||
|
||||
col = %2(col);
|
||||
|
||||
frag_color = col;
|
||||
}
|
||||
Reference in New Issue
Block a user