BGE: Allow access to light shadow settings with python
authorUlysse Martin <you.le@live.fr>
Sun, 17 Jan 2016 17:41:37 +0000 (18:41 +0100)
committerThomas Szepe <HG1_public@gmx.net>
Sun, 17 Jan 2016 17:47:14 +0000 (18:47 +0100)
commitc4c2bd1350a52e18f973bba7e52e929f94ff6496
treecb0bba24307411a8a601373806b781d49d2343c3
parenta5c419f4ccb19b0c01f3cbf5929f8a43bc503eff
BGE: Allow access to light shadow settings with python

This patch adds a new API which allow us to access light shadow settings from python. The new API can be used to write custom GLSL materials with shadows.

Reviewers: brecht, kupoman, agoose77, panzergame, campbellbarton, moguri, hg1

Reviewed By: agoose77, panzergame, campbellbarton, moguri, hg1

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1690
doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst
source/blender/gpu/GPU_material.h
source/blender/gpu/intern/gpu_material.c
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Ketsji/KX_Light.cpp
source/gameengine/Ketsji/KX_Light.h
source/gameengine/Rasterizer/RAS_ILightObject.h
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.h