Weighted Normal - gLTF export #64979

Closed
opened 2019-05-22 09:48:21 +02:00 by Damian · 12 comments

System Information
Operating system: Win 10
Graphics card: GTX 1080TI

Blender Version
Broken: version: 2.80 (sub 71), branch: blender2.7, commit date: 2019-05-22 00:34, hash: blender/blender@0f98c05c8b

Short description of error
After applying the "weighted normal" modifier to the model, exporting it to gLTF and loading it in unity, the model does not look as it should with this modifier.

Exact steps for others to reproduce the error
Create a model with bevels and apply a weighted normal modifier. Export model in gltf format. Import to e.g. unity.

**System Information** Operating system: Win 10 Graphics card: GTX 1080TI **Blender Version** Broken: version: 2.80 (sub 71), branch: blender2.7, commit date: 2019-05-22 00:34, hash: blender/blender@0f98c05c8b **Short description of error** After applying the "weighted normal" modifier to the model, exporting it to gLTF and loading it in unity, the model does not look as it should with this modifier. **Exact steps for others to reproduce the error** Create a model with bevels and apply a weighted normal modifier. Export model in gltf format. Import to e.g. unity.
Author

Added subscriber: @arteam132

Added subscriber: @arteam132
Julien Duroure was assigned by Brecht Van Lommel 2019-05-22 09:50:53 +02:00

Added subscriber: @brecht

Added subscriber: @brecht

We require a .blend file to reproduce the issue.

We require a .blend file to reproduce the issue.
Author
[Blend_test_gLTF_weighted_normal.blend](https://archive.blender.org/developer/F7060409/Blend_test_gLTF_weighted_normal.blend)
Member

Added subscriber: @elm19087

Added subscriber: @elm19087
Member

Was this object "Shade Flat" or "Shade Smooth"? We had a known issue with custom normals on top of flat-shaded meshes, https://github.com/KhronosGroup/glTF-Blender-IO/issues/436 that just got closed an hour ago, the fix hasn't even been copied over to this repository yet.

Was this object "Shade Flat" or "Shade Smooth"? We had a known issue with custom normals on top of flat-shaded meshes, https://github.com/KhronosGroup/glTF-Blender-IO/issues/436 that just got closed an hour ago, the fix hasn't even been copied over to this repository yet.
Author

Yes, when is "flat-shaded", weighted normal work correctly after export to gLTF. Thank you.

Yes, when is "flat-shaded", weighted normal work correctly after export to gLTF. Thank you.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Fix is now merged.
Don't hesitate to contact us if you still have any issue

Fix is now merged. Don't hesitate to contact us if you still have any issue

Added subscriber: @ArmandoTello

Added subscriber: @ArmandoTello

I've been having issues with this myself. Should I open a new ticket or just continue the conversation here?

In blender, everything appears as it should, but the exported file looks weird. I'm currently viewing the gltf files in vscode and they will be used in a webgl app.
image.png

basket.blend

I've been having issues with this myself. Should I open a new ticket or just continue the conversation here? In blender, everything appears as it should, but the exported file looks weird. I'm currently viewing the gltf files in vscode and they will be used in a webgl app. ![image.png](https://archive.blender.org/developer/F12815136/image.png) [basket.blend](https://archive.blender.org/developer/F12815131/basket.blend)
Member

I can't reproduce.
What blender version are you using?

If you are using the 3.0 or current master branch, please open a ticket here or, better, on https://github.com/KhronosGroup/glTF-Blender-IO

(Note that some texture and linked data are missing from your file)

I can't reproduce. What blender version are you using? If you are using the 3.0 or current master branch, please open a ticket here or, better, on https://github.com/KhronosGroup/glTF-Blender-IO (Note that some texture and linked data are missing from your file)
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#64979
No description provided.