Open WungielPolacz opened 9 months ago
A note to self and any others who want .gltf
support:
I hear you. Will be in one of the next updates (whenever that would be...)
It's quite a pain on the implementation side, cause the whole point is mesh optimization. It works only if using the "mesh" field because it's literally how it's done on the GPU level. And it doesn't quite work with gltf, since gltf may contain several meshes, in different positions and possibly parented to each other.
This creates a lot of permutations of how to stuff information from gltf into the Multimesh based optimization.
I'll need to figure it out somehow.
If you don't need optimization, you can already use gltf in the "spawned spatial" field to simply draw with scenes (unless there is a file extension restriction, in which cases just make an inherited scene with .tscn extension). But again, no rendering optimization. Just a whole lotta nodes.
I'd want to use this plugin with format tscn. Actually it's possible but (in my case) trees doesn't appears in game mods. But in scene mode are visible. So I am stick to .mesh. Will you add more formats to use? It would be really helpful.