Results 1 to 2 of 2

Thread: Shade is Lost when use GL_BLEND

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001
    Location
    Bankkok, Thailand
    Posts
    9

    Shade is Lost when use GL_BLEND

    when I use GL_BLEND
    shade in my view is lost
    why?
    and can i correct it?

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

    Re: Shade is Lost when use GL_BLEND

    Use :

    glEnable(GL_BLEND);
    // The stuff that you want to be transparent
    glDisable(GL_BLEND);
    // The end of your code

Similar Threads

  1. Triangle - Shade
    By Keven Corazza in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 01-29-2014, 11:29 PM
  2. How to shade a grid of quads
    By kevinfishburne in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-25-2012, 12:18 AM
  3. OpenGL graphics are a shade of red
    By in forum OpenGL: User Software
    Replies: 4
    Last Post: 01-04-2005, 08:32 AM
  4. Flat and Smooth Shade
    By Louis Wychkraft in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-07-2004, 05:19 AM
  5. shade object
    By banzai889 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-01-2003, 10:37 AM

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