[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17025] trunk/blender/source/blender/gpu/ intern/gpu_material.c: Fix for bug #17794: GLSL didn' t take into account normal maps

Brecht Van Lommel brecht at blender.org
Sat Oct 11 21:34:51 CEST 2008


Revision: 17025
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17025
Author:   blendix
Date:     2008-10-11 21:34:48 +0200 (Sat, 11 Oct 2008)

Log Message:
-----------
Fix for bug #17794: GLSL didn't take into account normal maps
for Nor texture inputs.

Modified Paths:
--------------
    trunk/blender/source/blender/gpu/intern/gpu_material.c

Modified: trunk/blender/source/blender/gpu/intern/gpu_material.c
===================================================================
--- trunk/blender/source/blender/gpu/intern/gpu_material.c	2008-10-11 19:32:53 UTC (rev 17024)
+++ trunk/blender/source/blender/gpu/intern/gpu_material.c	2008-10-11 19:34:48 UTC (rev 17025)
@@ -928,7 +928,7 @@
 			else if(mtex->texco==TEXCO_OBJECT)
 				texco= texco_object;
 			else if(mtex->texco==TEXCO_NORM)
-				texco= texco_norm;
+				texco= orn;
 			else if(mtex->texco==TEXCO_TANGENT)
 				texco= texco_object;
 			else if(mtex->texco==TEXCO_GLOB)





More information about the Bf-blender-cvs mailing list