diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-03 09:24:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-03 09:24:01 +0400 |
commit | 7753d1c49c225ce9c77dc2fa425eb5cf455b9bdc (patch) | |
tree | 2fa921f01d4cacc147fe53683cf43516a486d771 /source/blender | |
parent | 9d2525359682521cf38b6a49c62b331f30c04fd2 (diff) |
Fix #34889: negative lights not working in glsl view and game engine.
Patch #35197 by Tyler Seacrest.
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 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) |