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

Loading a blender exported gltf file errors with Unsupported min filter unless edited. #1052

Closed
expenses opened this issue Dec 13, 2020 · 1 comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Comments

@expenses
Copy link

Bevy version

3.0

Operating system & version

Arch Linux x86_64 5.9.13

What you did

If you export a gltf file from blender, it sets the minFilter to one of the mipmap sampling modes, which aren't supported in bevy at the moment.

Seeing as files exported from blender are common, I suggest that instead of erroring, we print a warning and use the equivalent non-mipmap sampling mode instead.

Additional information

Here's an example: https://gist.github.com/expenses/2e6e6bcdc4d9b38f4ce82a664fced678. At the moment, bevy won't load this, but if you change the minFilter to 9729 the it loads fine.

@Moxinilian Moxinilian added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Dec 15, 2020
@inodentry
Copy link
Contributor

This issue should be closed. It was fixed with #1639 , which removed the error, to allow loading the GLTF files (but rendering them without mipmaps for the time being, until #1685 is merged).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

4 participants