Game Development Community

Flip/Mirror bitmaps?

by Justin DuJardin · in Torque Game Engine · 06/04/2002 (2:20 pm) · 2 replies

Ok, i went through all the trouble of making my controls skinnable now one of my gui artists wants the button's bitmaps to be flippable/mirrorable. As in say he has a button that's a box with one corner (top right) with a cut off edge, he wants that corner to be flipped or mirrored to the top-left edge. All i need to know is, does anyone know of a way to flip an image completely around?

TIA,
Justin DuJardin

#1
06/06/2002 (2:41 pm)
*bump* anyone?
#2
06/14/2002 (3:41 am)
You should be able to do this by simply inverting the order of your glTexCoord* calls. (literally mirror the uv points)