diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-11 23:34:48 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-11 23:34:48 +0400 |
commit | b79063bd572df28aa91a4079cc736b3a83e52363 (patch) | |
tree | e4ba3ff0d3a0702c3065d79cd4faae08a0d90b1d /source/blender | |
parent | 64a0bcd10af187c47dc35a7eadbe99a2c1e68726 (diff) |
Fix for bug #17794: GLSL didn't take into account normal maps
for Nor texture inputs.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 2 |
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) |