From b79063bd572df28aa91a4079cc736b3a83e52363 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 11 Oct 2008 19:34:48 +0000 Subject: Fix for bug #17794: GLSL didn't take into account normal maps for Nor texture inputs. --- source/blender/gpu/intern/gpu_material.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 62c3f848284..db6117d854b 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -928,7 +928,7 @@ static void do_material_tex(GPUShadeInput *shi) 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) -- cgit v1.2.3