summaryrefslogtreecommitdiff
path: root/scene/resources/baked_light.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-10-03 16:33:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-10-03 21:35:16 +0200
commit22d83bc9f655d5ae7a1b49709c4c1b663725daf5 (patch)
treea817195c08d4713a70ca014a3f63f5937934fe36 /scene/resources/baked_light.cpp
parent78d97b060a6873a454e710380cb9ef1bde5e4c65 (diff)
Begining of GLES3 renderer:
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
Diffstat (limited to 'scene/resources/baked_light.cpp')
-rw-r--r--scene/resources/baked_light.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scene/resources/baked_light.cpp b/scene/resources/baked_light.cpp
index e4510be874..38ed661cdd 100644
--- a/scene/resources/baked_light.cpp
+++ b/scene/resources/baked_light.cpp
@@ -29,6 +29,8 @@
#include "baked_light.h"
#include "servers/visual_server.h"
+#if 0
+
void BakedLight::set_mode(Mode p_mode) {
mode=p_mode;
@@ -582,7 +584,7 @@ BakedLight::BakedLight() {
tint=0.0;
ao_radius=2.5;
ao_strength=0.7;
- format=FORMAT_RGB;
+ format=FORMAT_RGB8;
transfer_only_uv2=false;
@@ -600,3 +602,4 @@ BakedLight::~BakedLight() {
VS::get_singleton()->free(baked_light);
}
+#endif