BGE: Bringing over the dynamic lamp properties fixes from Cucumber (thanks to Daniel...
authorMitchell Stokes <mogurijin@gmail.com>
Mon, 23 Jul 2012 20:24:35 +0000 (20:24 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Mon, 23 Jul 2012 20:24:35 +0000 (20:24 +0000)
commit37246b3ca17cf908d8c5855c9f0a6f0686646ea2
tree22434e355d883e9806e26cac00409a9a1ad79f48
parent541e46f7adca5b23928a6b110f4442c9435979d8
BGE: Bringing over the dynamic lamp properties fixes from Cucumber (thanks to Daniel Stokes). This means the following KX_LightObject properties now have support when using GLSL materials (in addition to those already supported):
  * distance
  * lin_attenuation
  * quad_attenuation
  * spotsize
  * spotblend
source/blender/gpu/GPU_material.h
source/blender/gpu/intern/gpu_material.c
source/gameengine/Ketsji/KX_Light.cpp