Skip to content

Texture Resizing #215

Answered by TheMostDiligent
RobertMtx asked this question in Q&A
Oct 15, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Is it possible to resize an image during loading with the texture loading utility? Or perhaps request that it discard the first few mip levels?

No, the loader does not have this functionality. You need to prepare the data as appropriate.

I'm assuming it would be a simple thing to resize the source data

No, it is not a simple thing if you want to get good image quality.

A secondary reason is editor functionality, such as showing small thumbnails of textures in a GUI browser.

There is no need to have a separate texture for the thumbnail. If all mips are generated, the GPU will select the appropriate mip level.

Replies: 1 comment 3 replies

Comment options

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

@TheMostDiligent
Comment options

@RobertMtx
Comment options

Answer selected by RobertMtx
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