gpuray_glsl

view sdr/postsdr.glsl @ 5:000017955721

fixed the cone normal
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 11 Nov 2014 20:25:59 +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 }