summaryrefslogtreecommitdiff
path: root/modules/gltf/SCsub
diff options
context:
space:
mode:
authorK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2020-12-21 07:39:32 -0800
committerK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2020-12-22 16:56:28 -0800
commit4b4efd26740d4912e66bf8503e8f146ed2be33b7 (patch)
tree5000a97590018c997c134f48d2f49c3b57621394 /modules/gltf/SCsub
parent8ad0ff8ae5578d92352b63d863e5dcd801458368 (diff)
Add exporting glTF2.
* Support KHR_texture_transform. * Support exporting glTF2 * Support exporting instanced scenes * Extract into a gltf state and gltf document * Add a tools menu for exporting gltf2
Diffstat (limited to 'modules/gltf/SCsub')
-rw-r--r--modules/gltf/SCsub10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/gltf/SCsub b/modules/gltf/SCsub
new file mode 100644
index 0000000000..5d03ee8361
--- /dev/null
+++ b/modules/gltf/SCsub
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+Import("env")
+Import("env_modules")
+
+env_gltf = env_modules.Clone()
+env_gltf.Prepend(CPPPATH=["."])
+
+# Godot's own source files
+env_gltf.add_source_files(env.modules_sources, "*.cpp")