Skip to main content
gamedev.net
🔒 Locked

Repeating a partial texture

Started by tscott1213 Apr 28, 2004 at 9:51 AM 1 replies 350+ views
Original Post
tscott1213
tscott1213
Hey, I have a texture that contains multiple images that I use to create a GUI ''look-and-feel''. So, there will be a portion of the texture that is used for the top of a window, another portion for a button, etc... As a result, I am often creating textured quads where the uv coordinates do not span the full 0-1 range so that just a section of the texture is ''stretched'' over the quad. Is there a way to ''repeat'' a partial texture over the quad? For example, I have an image of a single chain-link that I want to use as the sides of a window and have the image repeated to give the impression of a full chain(kind of like in the Warcraft 3 setup windows). Thanks Todd
tscott1213
tscott1213
Ok, I thought that might be the case, but I am so often wrong!

Thanks for the help.
Todd

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.