dungeon_crawler

changeset 36:80dab4000413

ops, a small bug slipped by
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 28 Aug 2012 06:36:20 +0300
parents d0e93b4d9ec9
children 84a56fb24850
files prototype/sdr/mrt.p.glsl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/prototype/sdr/mrt.p.glsl	Tue Aug 28 06:28:22 2012 +0300
     1.2 +++ b/prototype/sdr/mrt.p.glsl	Tue Aug 28 06:36:20 2012 +0300
     1.3 @@ -25,7 +25,7 @@
     1.4  
     1.5  	// grab normal from the normal map, remap it and transform it to view space
     1.6  	n = texture2D(tex_norm, gl_TexCoord[0].st).xyz * 2.0 - 1.0;
     1.7 -	n = normalize(tbn_mat * n);
     1.8 +	n = tbn_mat * normalize(n);
     1.9  
    1.10  	float fog = clamp((fog_end + pos.z) / (fog_end - fog_start), 0.0, 1.0);
    1.11