Turn on color for lens flare

This commit is contained in:
samuncle 2015-07-26 01:46:19 +02:00
parent 52313c1468
commit 12b1ea5a6c

View File

@ -16,9 +16,12 @@ void main()
col += .25 * texture(tex_256, uv);
col += .5 * texture(tex_512, uv);
float final = max(col.r,max(col.g,col.b));
//final = final * 2;
vec3 blue = vec3(final * 0.1, final * 0.2, final);
//col *= 0.5;
FragColor = vec4(blue, 1.);
//float final = max(col.r,max(col.g,col.b));
//final = final * 2;
//vec3 blue = vec3(final * 0.1, final * 0.2, final);
FragColor = vec4(col.rgb, 1.);
}