You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bevy version 0.8
There's a texture I want to have FilterMode::Nearest.
I've tried to insert_resource(ImageSettings::default_nearest()) but I believe due to the circumstance when it get's loaded, the ImageSettings seems to be ignored.
the sampler get's set to FilterMode::Linear despite the ImageSetting.
// no effect
app.insert_resource(ImageSettings::default_nearest())
app.sub_app_mut(RenderApp)// no effect.insert_resource(ImageSettings::default_nearest()).init_resource::<ChunkTexture>()
I'm currently getting around this by hacking together this (added the "core/main" app):
Which has the side effect of forcing all images to be nearest.
Bevy version 0.8
There's a texture I want to have FilterMode::Nearest.
I've tried to insert_resource(ImageSettings::default_nearest()) but I believe due to the circumstance when it get's loaded, the ImageSettings seems to be ignored.
the sampler get's set to FilterMode::Linear despite the ImageSetting.
The code:
loading occurs here:
I'm currently getting around this by hacking together this (added the "core/main" app):
Which has the side effect of forcing all images to be nearest.
The text was updated successfully, but these errors were encountered: