Fix incorrect spot lamp blend in python GPU uniform export.
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2378
This commit is contained in:
parent
d4e0557cf1
commit
7f10a889e3
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue