Q3 BSP: UV Flippage

Started by
0 comments, last by Zakwayda 18 years, 1 month ago
It seems like some of the textures in quake 3 are mirrored on the y axis.. but some arent. Any know how to determine which textures need to be flipped?
Advertisement
Quote:Original post by luridcortex
It seems like some of the textures in quake 3 are mirrored on the y axis.. but some arent. Any know how to determine which textures need to be flipped?
IIRC, Q3's textures are flipped because the images aren't flipped before uploading them to OpenGL (you probably already know that most image formats are top-down while OpenGL textures are bottom-up). In my Q3 renderer I just apply 'v = 1-v' to the texcoords to correct this. This seems to produce consistently correct results, but maybe there are some textures that are upside-down that I haven't noticed...

Are you getting clearly inconsistent results, that is, with textures that have a clear 'up'? I'm not sure why some of your textures would be coming out right, and some not...

This topic is closed to new replies.

Advertisement