Skip to content

unnecessary code in "Migrating to Modern Asset Formats: glTF and KTX2" chapter #276

@mewingchessmogger

Description

@mewingchessmogger

code below is present in tutorial. gltf already has a optimized vertex buffer for index buffer. No need for checking unique vertices
...

            // Add vertex if unique
            if (!uniqueVertices.contains(vertex)) {
                uniqueVertices[vertex] = static_cast<uint32_t>(vertices.size());
                vertices.push_back(vertex);
            }
        }

...
https://docs.vulkan.org/tutorial/latest/15_GLTF_KTX2_Migration.html <-- affected chapter

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions