Rendering incomplete portions of textures
Hi guys, was hoping someone could clue me in here.
I have a game, where it renders a map, above this it renders a box that contains pictures and text.
I have recently added a scroller function so that more can be fit in the box, my issue is that when i scroll, images stay above the box instead of disappear as they partially go off the box screen. Now, i can't simply place the text a layer below because the map still needs to show around the box above the text.
I cant simply adjust the image size because the texture is squashed.
Does anyone have any ideas how i can just render parts of the images instead of the whole image?
[Edited by - Scribe on September 11, 2005 9:02:14 AM]
adjust your texture coordinates...
they go from 0.0 to 1.0, no reason you have to use the whole range.
they go from 0.0 to 1.0, no reason you have to use the whole range.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement