Skip to content

my low resolution texture is blurred. i tried sampling=nearest. msaa=off #17864

Discussion options

You must be logged in to vote

change:
let texture_handle = asset_server.load("oilrig_tex.png");
to

let texture_handle = asset_server.load_with_settings("oilrig_tex.png", |settings: &mut ImageLoaderSettings| {
        settings.sampler = ImageSampler::nearest();
    });

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@homebrewmellow
Comment options

@rparrett
Comment options

@homebrewmellow
Comment options

Answer selected by homebrewmellow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants