godot/modules/gltf
Matias N. Goldberg ec0e6800bc Fix gltf importer forcing vertex colors on all materials
The importer already checks if a mesh has vertex colors and enables
vertex colors on the material using it.

Before this fix, GLTF importer would force shader generation to use
vertex colors even if the scene did not have vertex colors at all, or
did not need them; causing inefficient shader and PSO generation.
2023-09-24 19:37:33 -03:00
..
doc_classes Merge pull request #80272 from aaronfranke/gltf-root-node-logic 2023-09-16 21:21:40 +02:00
editor Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
extensions Merge pull request #80272 from aaronfranke/gltf-root-node-logic 2023-09-16 21:21:40 +02:00
structures Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
config.py GLTF: Rename GLTFCollider class to GLTFPhysicsShape 2023-06-16 15:18:24 -05:00
gltf_defines.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gltf_document.cpp Fix gltf importer forcing vertex colors on all materials 2023-09-24 19:37:33 -03:00
gltf_document.h Merge pull request #80272 from aaronfranke/gltf-root-node-logic 2023-09-16 21:21:40 +02:00
gltf_state.cpp Expose filename in GLTFState 2023-08-03 16:38:10 -05:00
gltf_state.h Expose filename in GLTFState 2023-08-03 16:38:10 -05:00
gltf_template_convert.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
README.md GLTF: Organize structures into a subfolder 2022-07-24 17:16:51 -05:00
register_types.cpp Merge pull request #76572 from acazuc/ktx_format_support 2023-08-19 13:00:35 +02:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00

Godot GLTF import and export module

In a nutshell, the GLTF module works like this:

  • The structures/ folder contains GLTF structures, the small pieces that make up a GLTF file, represented as C++ classes.
  • The extensions/ folder contains GLTF extensions, which are optional features that build on top of the base GLTF spec.
  • GLTFState holds collections of structures and extensions.
  • GLTFDocument operates on GLTFState and its elements.
  • The editor/ folder uses GLTFDocument to import and export 3D models.