Sign in to follow this  
ludo8x

Texture tile

Recommended Posts

ludo8x    122
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 ?

Share this post


Link to post
Share on other sites
darookie    1441
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this