• Advertisement
Sign in to follow this  

Why does not minification appear?

This topic is 1986 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I have a surface that is 129 x 129 vertices.And that surface must be textured.
This is what's happening: I'm gonna use a 2000 x 2000 texture.

First time,I will just simply use it,I'll just sample from it.Here's the result:

54hg2.png






Now,I'll do something else.I'm gonna tile the texture.So this is what I'll do: multiply every vertex's texture coord. with 5. This is the result:

avfq5l.png

NOTE: Ignore the water!! Also,the same exact texture is used in both cases.

The question is: Why the first time when I use nothing but the raw texture,everything looks so big(no minification),and the second time when I actually repeat the texture 5 times,minification appears?

Share this post


Link to post
Share on other sites
Advertisement
Minification happens when multiple texels map to a single pixel. So when you are using a giant texture in a small space, you'll never see minification unless you zoom fairly far out, and a 2000x2000 texture is fairly large. But when you tile that texture, you're forcing more texels map to a smaller area, causing it to hit the min filter.

Share this post


Link to post
Share on other sites
So If I make a 10.000 x 10.000 image in photoshop,and add those 2.000 x 2.000 images 5 times,to fill that 10.000 image,and put that image in my app,would I get the same results as I got in photo 2?

(actually tried that,app crashed:)) Edited by noatom

Share this post


Link to post
Share on other sites
Basically think of it this way, if you have a surface area of 256x256 and a texture that is 512x512 would you have to stretch the texture to fit that area, or shrink it? If you have to shrink it, you'll hit the min filter, if you have to stretch it, you'll hit the mag filter.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement