Skip to content

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

@expenses

Description

@expenses

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions