Export GLTF - smooth shading OFF

How to proper export a gltf with smooth shading OFF ?

When I open the exported file it looks fine in Blender or some online 3d model viewer. But it is not ok in game engines, like Godot.

It seems it has todo with normals.
I dont have any materials/colors/textures just a simple cylinder with smooth shading off

Cylinder.glb (58.2 KB)

THE PLATFORM: iPad
NOMAD APP VERSION: 2.8

Godot does not support flat shading.
So the correct export to godot is: enable normal and turn on smooth shading in Nomad

I don’t really want to add an export checkbox that would export 3 normals per face just for godot. File size would grow for nothing.

Note that the glTF spec says that flat normals should be computed if normals are not present in the file. So godot behavior of fallbacking to unlit isn’t quite correct.

When tangents are not specified, client implementations SHOULD calculate tangents using default MikkTSpace algorithms with the specified vertex positions, normals, and texture coordinates associated with the normal texture.

When normals are not specified, client implementations MUST calculate flat normals and the provided tangents (if present) MUST be ignored.