gpuray_glsl

view sdr/postsdr.glsl @ 1:92695e89164b

vc project
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 09 Nov 2014 14:30:37 +0200
parents
children
line source
1 uniform sampler2D fb;
3 void main()
4 {
5 vec4 pixel = texture2D(fb, gl_TexCoord[0].st);
7 gl_FragColor.rgb = pow(pixel.rgb, vec3(1.0 / 2.2));
8 gl_FragColor.a = pixel.a;
9 }