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>2013-05-03 09:24:01 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-03 09:24:01 +0400
commit7753d1c49c225ce9c77dc2fa425eb5cf455b9bdc (patch)
tree2fa921f01d4cacc147fe53683cf43516a486d771
parent9d2525359682521cf38b6a49c62b331f30c04fd2 (diff)
Fix #34889: negative lights not working in glsl view and game engine.
Patch #35197 by Tyler Seacrest.
-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 075a670e06e..b0248700824 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -571,7 +571,7 @@ static void add_to_diffuse(GPUMaterial *mat, Material *ma, GPUShadeInput *shi, G
addcol = shi->rgb;
/* output to */
- GPU_link(mat, "shade_madd_clamped", *diff, rgb, addcol, diff);
+ GPU_link(mat, "shade_madd", *diff, rgb, addcol, diff);
}
static void ramp_spec_result(GPUShadeInput *shi, GPUNodeLink **spec)