From 7753d1c49c225ce9c77dc2fa425eb5cf455b9bdc Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 3 May 2013 05:24:01 +0000 Subject: Fix #34889: negative lights not working in glsl view and game engine. Patch #35197 by Tyler Seacrest. --- 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 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) -- cgit v1.2.3