Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

Експортування 3D сцен

Огляд

In Godot, it is possible to export 3D scenes as a glTF 2.0 file. You can export as a glTF binary (.glb file) or glTF embedded with textures (gltf + .bin + textures). This allows you to create scenes in Godot, such as a CSG mesh blockout for a level, export it to clean it up in a program such as Blender, and then bring it back into Godot.

Примітка

Лише Blender 2.83 і новіші можуть імпортувати файли glTF, експортовані Godot.

To export a scene in the editor go to Scene > Export As... > glTF 2.0 Scene...

../../_images/gltf_godot_export.png

Обмеження

Є деякі обмеження при експорті glTF.

  • Нема підтримки експорту частинок, тому що їх реалізація різна в різних рушіях.

  • ShaderMaterial-и не можна експортувати.

  • Немає підтримки експортуванні 2D сцен.

Дивись також

3D scenes can be saved at runtime using runtime file loading and saving, including from an exported project.