Original Post
🔒 Locked
TEXTURE BORDER
Advertisement
quote:
it says 2 power + 2 * border size. and it runs but very slowly.
That's for hardware texture borders. Your hardware needs to support texture borders in order to get acceleration on a 514x514 texture. That's from GF3+ on upwards (and all ATi Radeon, iirc). What 3D card do you have ?
But the whole OpenGL texture border concept is awkward. Just create a standard 512² texture without border. Fill it with 510x510 valid texels of image data. And draw a white border around it (copy white pixels into the texture image).
/ Yann
[edited by - Yann L on July 23, 2002 5:21:15 PM]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement