Results 1 to 3 of 3

Thread: Multi & Single texturing

  1. #1
    Senior Member Frequent Contributor
    Join Date
    Nov 2002
    Location
    Latvia
    Posts
    626

    Multi & Single texturing

    I am using single and multi textured objects in my app, but as soon as I enable multitexturing I have to write all that ARB stuff to objects that uses only one texture, to get desired results. Does that mean I can't use simple glTexCoord if I've enabled multitexturing?

  2. #2

    Re: Multi & Single texturing

    I've read your question fast, but if I got it right, then you must call glDisableActiveTextureARB (or something like that).

  3. #3
    Senior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Arlon, Belgium
    Posts
    477

    Re: Multi & Single texturing

    If you've enabled multitexturing, use the ARB routine instead of taking the normal routine.

    Like this :

    glMultiTexCoord2fARB(GL_TEXTURE0_ARB, 1.0f, 1.0f);

Similar Threads

  1. Replies: 4
    Last Post: 04-20-2015, 02:31 PM
  2. Replies: 1
    Last Post: 11-17-2010, 05:20 PM
  3. Single Pass Multi-Layer Depth Rendering
    By alblackck in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 08-11-2010, 01:00 PM
  4. Multi-Texturing and .... normal texturing?
    By Andy Gilbert in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-06-2010, 05:30 PM
  5. a problem about single and multi texture mapping
    By xfang11790 in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 10-13-2002, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean