-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Loading a blender exported gltf file errors with Unsupported min filter unless edited. #1052
Copy link
Copy link
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior