Merge pull request #5103 from Calinou/blender-gltf-backface-culling-note-3.x

Add notes about Blender backface culling when exporting to glTF
This commit is contained in:
Max Hilbrunner
2021-07-19 18:16:38 +02:00
committed by GitHub
2 changed files with 16 additions and 0 deletions
@@ -57,6 +57,13 @@ either of those glTF binary files are fine.
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.
Exporting DAE files from Blender
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+9
View File
@@ -223,6 +223,15 @@ Determines which side of the object is not drawn when backfaces are rendered:
* **Front:** The front of the object is culled when not visible.
* **Disabled:** Used for objects that are double-sided (no culling is performed).
.. note::
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.
Depth Draw Mode
~~~~~~~~~~~~~~~