Commit e00164b9 authored by Miikka Heikkinen's avatar Miikka Heikkinen Committed by Pasi Keränen
Browse files

Fixed texture loading for json examples.


The models were too optimized. Since each face converging at one vertex
could have different texture coordinates, we need to make vertices
of each face unique, so that we can have unique texture coordinates
for each of them. Naturally this increases the rendered vertex count
significantly, but at least the textures are now mapped correctly.

Change-Id: I72b4705de5dd11263898eaf6c88f66a7dc232e1d
Task-number: QTBUG-42641
Reviewed-by: default avatarTomi Korpipää <tomi.korpipaa@theqtcompany.com>
Reviewed-by: default avatarPasi Keränen <pasi.keranen@digia.com>
parent a25f78a1
No related merge requests found
Showing with 47 additions and 43 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment