- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1k
 
Description
Hello,
First of all, thanks for the great job around gltf.
Draco appears to be inevitable to crosswork APIs.
But it seems that libdracodec_unity.so doesn't work properly.
The normals after decoding are not in the expected direction.
Here is a visual comparison :
this is a mesh with no compression at exporting from blender on linux mint.

everything is ok.
and this is the same with compression at export, and decoded by libdracodec_unity.so  :

Here, there are artefacts as if the normal shader was not correctly set.
We tried exporting with normal compression at 0 instead of 10, and then, the result was better, but the file's weight was not reduced enough, and most of all, it still remained some little errors on the faces.
We also tried the same mesh with the same compression parameters and exported again from blender on the same linux system, but this time decoded on a windows system and it appeared to be clean, as if it had not be compressed-decompressed.
Our conclusion is that there is no problem with the compression step, but only with the decompression, and only on linux systems.
And of course, we tried the same comparison tests with several meshes.
Could be the libdracodec_unity.so bugged ?
I have to precise that I did the test with the last release found her in github.
Is there a hope that the file could be tested and fixed ?
Thanks a lot again.
Nicolas