Blender sets glTF backculling setting based on Eevee material #82084

Closed
opened 2020-10-26 12:20:08 +01:00 by Kasper Arnklit Frandsen · 5 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 26.20.100.7263

Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: blender/blender@3e85bb34d0
Broken: 2.83.8 LTS. Tested that the issue was the same before the new glTF exporter.
Worked: NA

Short description of error
Blender sets glTF backculling setting based on Eevee material. I and other Godot users have gotten confused as to why our imported glTF models appear with backculling turned off. Since this is not a general material setting, but an Eevee specific one this feels unintuitive. When you work in Blender you'll almost always want backface culling to be turned off so it's easy to work on your model, but 9 times out of 10 when you are using the model in a game engine you will want backface culling on.
An option in the exporter to override the backface culling option to always be on could also be a solution.

Exact steps for others to reproduce the error
export the default cube as a glTF and import it into Godot 3.2.3 and you will see that backface culling is set to off.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 26.20.100.7263 **Blender Version** Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: `blender/blender@3e85bb34d0` Broken: 2.83.8 LTS. Tested that the issue was the same before the new glTF exporter. Worked: NA **Short description of error** Blender sets glTF backculling setting based on Eevee material. I and other Godot users have gotten confused as to why our imported glTF models appear with backculling turned off. Since this is not a general material setting, but an Eevee specific one this feels unintuitive. When you work in Blender you'll almost always want backface culling to be turned off so it's easy to work on your model, but 9 times out of 10 when you are using the model in a game engine you will want backface culling on. An option in the exporter to override the backface culling option to always be on could also be a solution. **Exact steps for others to reproduce the error** export the default cube as a glTF and import it into Godot 3.2.3 and you will see that backface culling is set to off.

Added subscriber: @Arnklit

Added subscriber: @Arnklit
Julien Duroure self-assigned this 2020-10-26 15:51:13 +01:00
Member

Hello,
Note that I created a ticket in upstream repository : https://github.com/KhronosGroup/glTF-Blender-IO/issues/1254

If I understand correctly, export does work, but default material setting in Blender is not the best for game engine, and you want a quicker way to change the backculling setting that change it manually in each of your material.

For information and people reading this ticket, here is documentation about how it works for now :
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html#double-sided-backface-cullings

Hello, Note that I created a ticket in upstream repository : https://github.com/KhronosGroup/glTF-Blender-IO/issues/1254 If I understand correctly, export does work, but default material setting in Blender is not the best for game engine, and you want a quicker way to change the backculling setting that change it manually in each of your material. For information and people reading this ticket, here is documentation about how it works for now : https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html#double-sided-backface-cullings
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

Thanks for the report, but the issue reported here is a request for modified/improved behavior and not a bug in current behavior. Since this is already being discussed upstream, closing as this bug tracker is only for bugs and errors.

Thanks for the report, but the issue reported here is a request for modified/improved behavior and not a bug in current behavior. Since this is already being discussed upstream, closing as this bug tracker is only for bugs and errors.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#82084
No description provided.