#Anisotropic filtering & Mipmaps
7 messages · Page 1 of 1 (latest)
Did I understand right that bevy can't generate mipmaps?
It should be able to generate the mipmaps but I haven't gotten it to work yet
I can try to find the steps when I'm home again
There is this: https://github.com/DGriffin91/bevy_mod_mipmap_generator, idk if there's other ways
To enable it you need to set the anisotropy_clamp field on the SamplerDescriptor for each image.
If you want to do it for all materials (e.g. StandardMaterial) you'd want to query mut materials: ResMut<Assets<StandardMaterial>>, and then change the anisotropy_clamp for whatever image (e.g. base_color_texture). But yea I'd recommend https://github.com/DGriffin91/bevy_mod_mipmap_generator as it does it for you.
And no, mipmaps won't be generated automatically on load.