Blender Git Commit Log

Git Commits -> Revision c4c2bd1

Revision c4c2bd1 by Ulysse Martin (master)
January 17, 2016, 17:47 (GMT)
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

Commit Details:

Full Hash: c4c2bd1350a52e18f973bba7e52e929f94ff6496
Parent Commit: a5c419f
Committed By: Thomas Szepe
Lines Changed: +205, -0

9 Modified Paths:

/doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst (+72, -0) (Diff)
/source/blender/gpu/GPU_material.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+10, -0) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+9, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+70, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.h (+10, -0) (Diff)
/source/gameengine/Rasterizer/RAS_ILightObject.h (+10, -0) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.cpp (+20, -0) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021