diff options
author | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-05-10 01:54:06 +0300 |
---|---|---|
committer | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-05-10 01:56:51 +0300 |
commit | dc95ca92ca224d26423c5d63b33e7714a6a8c9ce (patch) | |
tree | c71096c7c22e2eca609458fa36e0bd397f5c2976 /source/gameengine/Ketsji/KX_WorldInfo.h | |
parent | 583fd3af659fc5526a150d30b6a7a5bc2f0d484f (diff) |
BGE: Fix T43822 Videotexture does not use sky color for off-screen
rendering
Make scene background color as default for render-to-texture instead of
current blue color (0, 0, 255).
It is very useful for mirrors setups.
Reviewers: moguri, ben2610, sybren, panzergame, hg1
Reviewed By: panzergame, hg1, moguri
Subscribers: mpan3
Differential Revision: https://developer.blender.org/D1287
Diffstat (limited to 'source/gameengine/Ketsji/KX_WorldInfo.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_WorldInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_WorldInfo.h b/source/gameengine/Ketsji/KX_WorldInfo.h index 64304e594cc..0e8fe3c730a 100644 --- a/source/gameengine/Ketsji/KX_WorldInfo.h +++ b/source/gameengine/Ketsji/KX_WorldInfo.h @@ -88,6 +88,7 @@ public: void setMistIntensity(float intensity); void setMistColor(float r, float g, float b); void setBackColor(float r, float g, float b); + const float *getBackColor() const; void setAmbientColor(float r, float g, float b); void UpdateBackGround(); void UpdateWorldSettings(); |