Changeset 437 for branches/thune/thread_safe/gl/data/shader/clsbmap.gx
- Timestamp:
- 07/25/07 22:34:47 (16 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/gl/data/shader/clsbmap.gx
r420 r437 50 50 51 51 //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; 53 53 n = normalize( T * n.x + B * n.y + normal * n.z ); 54 54
