qvolray

diff sdr/volray.p.glsl @ 33:437e1ba9cf39

fixed on osx
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Apr 2012 23:31:17 +0300
parents f4cc61b5a3eb
children 6ca076bf5084
line diff
     1.1 --- a/sdr/volray.p.glsl	Sat Apr 14 22:51:41 2012 +0300
     1.2 +++ b/sdr/volray.p.glsl	Sat Apr 14 23:31:17 2012 +0300
     1.3 @@ -78,7 +78,7 @@
     1.4  	float energy = 1.0;
     1.5  	float t = t0;
     1.6  	vec3 col = vec3(0.0, 0.0, 0.0);
     1.7 -	const vec3 ldir = normalize(vec3(-1, 1, -4));
     1.8 +	vec3 ldir = normalize(vec3(-1, 1, -4));
     1.9  
    1.10  
    1.11  	while(t < t1) {