-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Respect mipmap_filter when create ImageDescriptor with linear()/nearest() #6349
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with these changes. Most of the time people will want linear mipmap filtering and I didn't find any indications that this should hurt performance in any way. (The nearest_descriptor
change doesn't really matter since this is the default already, but I guess it's good to be explicit here.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense.
bors r+
…st() (#6349) Respect mipmap_filter when create ImageDescriptor with linear()/nearest() # Objective Fixes #6348 ## Migration Guide This PR changes default `ImageSettings` and may lead to unexpected behaviour for existing projects with mipmapped textures. Users should provide custom `ImageSettings` resource with `mipmap_filter=FilterMode::Nearest` if they want to keep old behaviour. Co-authored-by: Yakov Borevich <j.borevich@gmail.com>
Build failed: |
bors r+ |
…st() (#6349) Respect mipmap_filter when create ImageDescriptor with linear()/nearest() # Objective Fixes #6348 ## Migration Guide This PR changes default `ImageSettings` and may lead to unexpected behaviour for existing projects with mipmapped textures. Users should provide custom `ImageSettings` resource with `mipmap_filter=FilterMode::Nearest` if they want to keep old behaviour. Co-authored-by: Yakov Borevich <j.borevich@gmail.com>
…st() (bevyengine#6349) Respect mipmap_filter when create ImageDescriptor with linear()/nearest() # Objective Fixes bevyengine#6348 ## Migration Guide This PR changes default `ImageSettings` and may lead to unexpected behaviour for existing projects with mipmapped textures. Users should provide custom `ImageSettings` resource with `mipmap_filter=FilterMode::Nearest` if they want to keep old behaviour. Co-authored-by: Yakov Borevich <j.borevich@gmail.com>
Respect mipmap_filter when create ImageDescriptor with linear()/nearest()
Objective
Fixes #6348
Migration Guide
This PR changes default
ImageSettings
and may lead to unexpected behaviour for existing projects with mipmapped textures. Users should provide customImageSettings
resource withmipmap_filter=FilterMode::Nearest
if they want to keep old behaviour.