Re: DDS Texture Problem
Stephan Rose <[email protected]> Fri, 05 Sep 2008 21:10:34 -0800
| Newsgroups | gmane.games.devel.opengl |
|---|---|
| Organization | Fat City Network Services, San Diego, California |
| Message-ID | <[email protected]> |
On Thu, 2008-09-04 at 09:00 -0800, Michael Gold wrote: > The default value for GL_MIN_FILTER is GL_NEAREST_MIPMAP_LINEAR which > expects a mipmap. If you supply only one level, the texture is > "inconsistent" and texturing is disabled. The fix is to set your min > filter to LINEAR or NEAREST: > glTexParameteri(GL_TEXTURE_2D, GL_MIN_FILTER, GL_LINEAR); > Thanks, that worked out perfectly! Stephan ----- FAQ and OpenGL Resources at: http://www.geocities.com/SiliconValley/Hills/9956/OpenGL -- Author: Stephan Rose INET: [email protected] Fat City Hosting, San Diego, California -- http://www.fatcity.com --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [email protected] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).