StarSimVR / backlog

The backlog of our project.
GNU General Public License v2.0
1 stars 0 forks source link

[Godot] How to Add Geometry and Textures to a Scene? #19

Closed kevinmatthes closed 2 years ago

kevinmatthes commented 2 years ago

@Luka-sama: please research how external geometry can be added to a Godot project.

Please post your answers to these questions in this issue for reference.

Luka-sama commented 2 years ago

See following links for more details:

Godot recommends glTF 2.0 for 3D-models (text (.gltf) or binary (.glb) format). This format can also contain textures. This format is open source and supported by Blender (since 2.80 built-in support), so I think we could use this format?

Note to glTF:

Blender does not export emissive textures with the glTF file. If your model uses one, it must be brought in separately.

By default, Blender has backface culling disabled on materials and will export materials to match how they render in Blender. This means that materials in Godot will have their cull mode set to Disabled. This can decrease performance since backfaces will be rendered, even when they are being culled by other faces. To resolve this, enable Backface Culling in Blender's Materials tab, then export the scene to glTF again.

kevinmatthes commented 2 years ago

Thanks! Please note these information as well in a reference file of this repository.