godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.41k stars 21.06k forks source link

[FBX] Imported models does not have or supported shade smooth compare to other formats #46851

Closed takhimi closed 2 years ago

takhimi commented 3 years ago

Godot version: Godot 3.2.4 RC4

OS/device including version: GTX970, 461.81, GLES3 Windows10 64Bit Blender 2.92 (Steam version)

Issue description: I'm trying to import some of my models and I notices that the "shade smooth" does not work on Godot when importing fbx models, I've tested importing GLTF, OBJ, and Better collada and the models work as expected (with shade smooth). This is probably a bug to godot fbx import module since the same fbx file is open correctly in Substance Painter(with smooth shaded).

Steps to reproduce: 1)In blender try to model some cylinder or something and right click "shade smooth", on the object property check the autosmooth 2)Export as fbx and import to godot. I did export other format also(gltf,obj,dae) as a control group. 3)Object imported from fbx format does not have shade smooth but other formats will have the shade smooth) worked as expected.)

Minimal reproduction project:

GodotImportTest1.zip GodotBlendFile.zip

Godot bug

Enixoid commented 3 years ago

Could it be godot 3.2.4 rc4? I have this problem in godot 3.2.4 rc4.

takhimi commented 3 years ago

Ops.. Sorry for the typo.

Calinou commented 3 years ago

@takhimi Does importing work correctly in 3.2.3 or earlier 3.2.4 RCs?

cc @RevoluPowered

takhimi commented 3 years ago

@Calinou

Just tested and the shade smooth works with 3.2.3(Steam version). My guess is that the new fbx importer module need some tweaking.

Godot 3 2 3 FBX ShadeSmooth

takhimi commented 3 years ago

Just reporting that it still happens for 3.2.4 RC5.

felixscheffer commented 3 years ago

The issue still exists in 3.4 beta 2

takhimi commented 3 years ago

Still happens for 3.4 beta 3

huhund commented 2 years ago

Ou noes :(, does anybody know a work around for this? I see it 3.4.1 as well.

felixscheffer commented 2 years ago

Ou noes :(, does anybody know a work around for this? I see it 3.4.1 as well.

I am using obj and glb as file format instead.

akien-mga commented 2 years ago

This is probably fixed with the new FBX importer using FBX2glTF. You can test it in Godot 4.0 alpha 6: https://godotengine.org/article/dev-snapshot-godot-4-0-alpha-6 This new importer might also be backported for the 3.x branch eventually.

If you still find issues with these models using the new importer, we suggest opening a new issue with details about the problems in Godot 4.0 alpha 6 or later.