Skip to content

Add suport for external images in binary gltfs #432

Description

@vorg

In this line https://github.com/pex-gl/pex-renderer/blob/main/loaders/glTF.js#L1458C9-L1458C44 we assume that all images are embedded inside binary .glb

if (isBinary || image.bufferView) {

Assets from https://kenney.nl/ use single color palette texture for all 150 .glb and that image is references by url. We should check if image has url and load it if bufferView is null.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions