Blender Git Loki
Git Commits -> Revision 82c8454
Revision 82c8454 by Mitchell Stokes (master) August 17, 2013, 04:37 (GMT) |
BGE: Adding partial support for LibLoaded lights with GLSL materials. Any GLSL materials loaded after lights are LibLoaded will now use the lights in heir shaders. This includes materials loaded from the same scene as the LibLoaded lights. We could later add a new flag to LibLoad to recompile all existing shaders, but this commit should offer a lot more flexibility as is. |
Commit Details:
Full Hash: 82c845425f0a5e2805ed7e9f6cb74920fa96229f
SVN Revision: 59196
Parent Commit: 51bca0d
Lines Changed: +26, -21
6 Modified Paths:
/source/gameengine/Ketsji/BL_BlenderShader.h (+0, -7) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+1, -3) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+16, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.h (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+6, -3) (Diff)
/source/gameengine/Rasterizer/RAS_BucketManager.cpp (+0, -7) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+1, -3) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+16, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.h (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+6, -3) (Diff)
/source/gameengine/Rasterizer/RAS_BucketManager.cpp (+0, -7) (Diff)