Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-10-11 23:34:48 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-10-11 23:34:48 +0400
commitb79063bd572df28aa91a4079cc736b3a83e52363 (patch)
treee4ba3ff0d3a0702c3065d79cd4faae08a0d90b1d /source/blender/gpu
parent64a0bcd10af187c47dc35a7eadbe99a2c1e68726 (diff)
Fix for bug #17794: GLSL didn't take into account normal maps
for Nor texture inputs.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_material.c2
1 files changed, 1 insertions, 1 deletions
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)