summaryrefslogtreecommitdiff
path: root/tools/export/blender25/io_scene_dae
diff options
context:
space:
mode:
Diffstat (limited to 'tools/export/blender25/io_scene_dae')
-rw-r--r--tools/export/blender25/io_scene_dae/export_dae.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/export/blender25/io_scene_dae/export_dae.py b/tools/export/blender25/io_scene_dae/export_dae.py
index 3bb440ffe5..2f7d1ddd86 100644
--- a/tools/export/blender25/io_scene_dae/export_dae.py
+++ b/tools/export/blender25/io_scene_dae/export_dae.py
@@ -351,6 +351,12 @@ class DaeExporter:
self.writel(S_FX,5,'<technique profile="GOOGLEEARTH">')
self.writel(S_FX,6,'<double_sided>'+["0","1"][double_sided_hint]+"</double_sided>")
self.writel(S_FX,5,'</technique>')
+
+ if (material.use_shadeless):
+ self.writel(S_FX,5,'<technique profile="GODOT">')
+ self.writel(S_FX,6,'<unshaded>1</unshaded>')
+ self.writel(S_FX,5,'</technique>')
+
self.writel(S_FX,4,'</extra>')
self.writel(S_FX,3,'</technique>')