qvolray

diff sdr/demo.p.glsl @ 22:2d0dfb5751dc

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 11 Apr 2012 18:35:12 +0300
parents 4c62be57fc1a
children 70b937008134
line diff
     1.1 --- a/sdr/demo.p.glsl	Wed Apr 11 16:59:45 2012 +0300
     1.2 +++ b/sdr/demo.p.glsl	Wed Apr 11 18:35:12 2012 +0300
     1.3 @@ -3,7 +3,7 @@
     1.4  	vec3 pos = gl_TexCoord[0].xyz * 2.0 - 1.0;
     1.5  
     1.6  	float len = length(pos);
     1.7 -	float val = 0.2 / (len * len);
     1.8 +	float val = 0.1 / (len * len);
     1.9  
    1.10  	gl_FragColor = vec4(-pos / len, val);
    1.11  }