From e60d535443824f44cd6e18280570cd066c1b3dc2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 15 Oct 2015 22:36:31 +1100 Subject: 3D View: support non-uniform scaled lamps D1378 by @youle Non-uniform scaled lamps now cast oval/rectangular shadows, viewport & BGE. --- source/blender/python/intern/gpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/python/intern') diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c index a7ece10f06c..bc15e109901 100644 --- a/source/blender/python/intern/gpu.c +++ b/source/blender/python/intern/gpu.c @@ -116,6 +116,7 @@ static PyObject *PyInit_gpu(void) PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_LAMP_DISTANCE); PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_LAMP_SPOTSIZE); PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_LAMP_SPOTBLEND); + PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_LAMP_SPOTSCALE); /* GPU_DYNAMIC_GROUP_SAMPLER */ PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_SAMPLER_2DBUFFER); PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_SAMPLER_2DIMAGE); -- cgit v1.2.3