Line endings, windows fixes.
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 313 B |
|
@ -148,8 +148,7 @@ void main() {
|
|||
vec3 rgbNE = texture(tex, tcrgbNE).rgb;
|
||||
vec3 rgbSW = texture(tex, tcrgbSW).rgb;
|
||||
vec3 rgbSE = texture(tex, tcrgbSE).rgb;
|
||||
vec4 texColor = texture(tex, tcrgbM);
|
||||
vec3 rgbM = texColor.rgb;
|
||||
vec3 rgbM = texture(tex, tcrgbM).rgb;
|
||||
vec3 luma = vec3(0.299, 0.587, 0.114);
|
||||
float lumaNW = dot(rgbNW, luma);
|
||||
float lumaNE = dot(rgbNE, luma);
|
||||
|
@ -178,10 +177,10 @@ void main() {
|
|||
texture(tex, texCo + dir * -0.5).rgb +
|
||||
texture(tex, texCo + dir * 0.5).rgb);
|
||||
|
||||
vec4 col;
|
||||
vec3 col;
|
||||
float lumaB = dot(rgbB, luma);
|
||||
if ((lumaB < lumaMin) || (lumaB > lumaMax)) col = vec4(rgbA, texColor.a);
|
||||
else col = vec4(rgbB, texColor.a);
|
||||
if ((lumaB < lumaMin) || (lumaB > lumaMax)) col = rgbA;
|
||||
else col = rgbB;
|
||||
|
||||
#else
|
||||
|
||||
|
|