View Full Version : ARB_texture_compression extension
03-23-2001, 04:33 AM
Calling glTexImage2D with an uncompressed image and a generic compressed internal format, make the texture image be compressed by the GL, if possible. So what happen when this is not possible ? Does GL upload the texture with the associated uncompressed form or does GL do nothing ?
03-23-2001, 05:23 AM
It's probably driver dependant what it does. My bet is on it doing nothing. Setting an error.
YOU should make sure the extension exists, before passing a compression value over as the internal format, not reply on the driver to fall back to "default" mode if it doesn't.
03-23-2001, 06:45 AM
When I implemented this ( a while back, hope I remember correctly) I went by
Compressed textures Will not be stored on error
you should store PREcompiled textures and uncopiled textures on disk
dont do what It lokks like your doing and compress while the program loads.
I know its easyer to code, but it can result in LONG loading times in some cases.
-------- btw ---------
Also Since this is a discussion forum whatch out for bugs with geforce2 and s3tc.
Ive noted that there is a blue tinge when this card uses compressed textures.
I.D. built a work around for quake3 to get around this problem. Any one know what they did to fix the problem??????
03-23-2001, 07:28 AM
no, but I know that Serious Sam does too (it's an addon that you have to execute)...my sugestion: get serious sam test2, and find the script....there should be tip in there
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.