Texture tile
I've got a simple mesh with a texture applied to it. When i change the UV coordinates to tile the texture ( vertex.tu *= 10; vertex.tv *= 10 ) the frame rate goes down from 600 fps to 100 fps (depeding on how much i tile the texture) Is this normal or there something wrong in my code ?
Yes, it#s normal if you do it in that particular way. Stay away from UVs out of the [0..1] range.
Are you using mip-mapping ?
If not, try using it - this could be an issue with texel cache performance.
If not, try using it - this could be an issue with texel cache performance.
Quote:Original post by ludo8x
But if i have to stay away from UVs out of the [0..1] range how can i tile my texture ??
Well you don't have to. I just thought about S1CAs comment and it seems to be the main reason for the performance drop.
Obviously I was wrong about this because in some cases (e.g. too few vertices) you simply cannot tile without changing the UV range.
My fault, sorry [oh]
Pat.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement