Show
Ignore:
Timestamp:
07/25/07 22:34:47 (16 months ago)
Author:
krobillard
Message:

Fixed shader for Mac.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/gl/data/shader/clsbmap.gx

    r420 r437  
    5050 
    5151        //n = normalize(normal); 
    52     n = -1 + 2 * texture2D(nmap, gl_TexCoord[0].st); 
     52    n = -1.0 + 2.0 * texture2D(nmap, gl_TexCoord[0].st).xyz; 
    5353    n = normalize( T * n.x + B * n.y + normal * n.z ); 
    5454