Hi, I'm using a texture array for my voxel game and I badly need mipmaps because Moiré makes distant terrain look like marbled cake.
I tried looking into the new CompressedImageSaver from bevy but I don't know how to make it work, because my texture array is currently generated at runtime.
I think the ideal bevy setup would be to use LoadTransformAndSave to build the texture array and add mipmap to it at dev time but for this to work I need to save custom metadata about which index correspond to which block face and it doesn't seem possible right now in bevy.
Anyway all this struggle pushed me to try out your plugin which seems really neat but it doesn't seem to work in my case... I'm not sure if it's because of the texture array or the material extension.
Hi, I'm using a texture array for my voxel game and I badly need mipmaps because Moiré makes distant terrain look like marbled cake.
I tried looking into the new CompressedImageSaver from bevy but I don't know how to make it work, because my texture array is currently generated at runtime. I think the ideal bevy setup would be to use LoadTransformAndSave to build the texture array and add mipmap to it at dev time but for this to work I need to save custom metadata about which index correspond to which block face and it doesn't seem possible right now in bevy.
Anyway all this struggle pushed me to try out your plugin which seems really neat but it doesn't seem to work in my case... I'm not sure if it's because of the texture array or the material extension.
I have this MaterialExtension:
I also implemented GetImages:
And this is how I create the material that is used for every block:
Is this supposed to work with your plugin or am I doing something wrong ? And if it's not supposed to work yet, is adding support to it feasible ?