Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make source property required in texture #1458

Closed
wants to merge 1 commit into from
Closed

Make source property required in texture #1458

wants to merge 1 commit into from

Conversation

UX3D-becher
Copy link

Currently textures without an image source are valid glTF which leads to errors in some engines (e.g. Babylon.js, Cesium, Three.js).

As it is unspecified how engines should display such 'empty' texures, the specification should probably be modified to prohibit them.

Example:
glTF.zip

@emackey emackey added breaking change Changes under consideration for a future glTF spec version, which would require breaking changes. specification labels Sep 28, 2018
@emackey
Copy link
Member

emackey commented Sep 28, 2018

I think this was intentional so that extensions could supply alternate texture sources...?

@bghgary
Copy link
Contributor

bghgary commented Sep 28, 2018

I think this thread #1226 has the most context.

@pjcozzi
Copy link
Member

pjcozzi commented Jan 25, 2019

Is it a breaking change in practice for existing software? Or is this a spec bug fix?

If this is merged, the generated markdown should also be updated.

@lexaknyazev
Copy link
Member

source is optional because of extensions (like DDS or WebP).

@emackey
Copy link
Member

emackey commented Jan 26, 2019

Right, thanks @lexaknyazev. That means we can't merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Changes under consideration for a future glTF spec version, which would require breaking changes. specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants