BGE: When dynamically loading scenes (bge.logic.LibLoad()) in GLSL mode, the lights...
authorMitchell Stokes <mogurijin@gmail.com>
Wed, 16 Jun 2010 19:07:20 +0000 (19:07 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Wed, 16 Jun 2010 19:07:20 +0000 (19:07 +0000)
commit08a94f9bbdf74a2d87da5908d919d018445ca222
treeec1e5dfe666f373a4582084bafc4e9923d42ba95
parentdd3513e3622ab09db5b619a061db43f6b5447380
BGE: When dynamically loading scenes (bge.logic.LibLoad()) in GLSL mode, the lights in the loaded scene would not affect the current scene and vice versa. To fix this, I've updated to merge code to update the scenes that the shaders are using to the scene being merged into.
source/gameengine/Ketsji/BL_BlenderShader.h
source/gameengine/Ketsji/KX_BlenderMaterial.h
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Rasterizer/RAS_BucketManager.cpp
source/gameengine/Rasterizer/RAS_BucketManager.h