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:
authorMichael Stahre <>2017-02-02 05:59:11 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-02-02 06:03:26 +0300
commit7f10a889e33cf5a8a524b4199911ec0d91d176f0 (patch)
treeb345f59718d2c7b0ba547a6891d0760f7294d682 /source/blender/gpu
parentd4e0557cf1813310e6e41a3ebb1f36f53d916cbe (diff)
Fix incorrect spot lamp blend in python GPU uniform export.
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2378
Diffstat (limited to 'source/blender/gpu')
-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 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);
}