# HG changeset patch # User John Tsiombikas # Date 1346124980 -10800 # Node ID 80dab40004134d39e3b11ff45eca94f0118f99ac # Parent d0e93b4d9ec907b5a7c352d74394c46ef7765ec5 ops, a small bug slipped by diff -r d0e93b4d9ec9 -r 80dab4000413 prototype/sdr/mrt.p.glsl --- a/prototype/sdr/mrt.p.glsl Tue Aug 28 06:28:22 2012 +0300 +++ b/prototype/sdr/mrt.p.glsl Tue Aug 28 06:36:20 2012 +0300 @@ -25,7 +25,7 @@ // grab normal from the normal map, remap it and transform it to view space n = texture2D(tex_norm, gl_TexCoord[0].st).xyz * 2.0 - 1.0; - n = normalize(tbn_mat * n); + n = tbn_mat * normalize(n); float fog = clamp((fog_end + pos.z) / (fog_end - fog_start), 0.0, 1.0);