diff options
author | Michael Stahre <> | 2017-02-02 05:59:11 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-02 06:03:26 +0300 |
commit | 7f10a889e33cf5a8a524b4199911ec0d91d176f0 (patch) | |
tree | b345f59718d2c7b0ba547a6891d0760f7294d682 | |
parent | d4e0557cf1813310e6e41a3ebb1f36f53d916cbe (diff) |
Fix incorrect spot lamp blend in python GPU uniform export.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D2378
-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 b857aea29ad..4e2043471b6 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -609,7 +609,7 @@ static GPUNodeLink *lamp_get_visibility(GPUMaterial *mat, GPULamp *lamp, GPUNode GPU_link(mat, "lamp_visibility_spot", GPU_dynamic_uniform(&lamp->spotsi, GPU_DYNAMIC_LAMP_SPOTSIZE, lamp->ob), - GPU_dynamic_uniform(&lamp->spotbl, GPU_DYNAMIC_LAMP_SPOTSIZE, lamp->ob), + GPU_dynamic_uniform(&lamp->spotbl, GPU_DYNAMIC_LAMP_SPOTBLEND, lamp->ob), inpr, visifac, &visifac); } |