Results 1 to 3 of 3

Thread: blending a polygon for transparency

  1. #1
    Member Contributor
    Join Date
    May 2012
    Posts
    51

    blending a polygon for transparency

    apparently blending is the best way of archiving transparency on a texture. When doing some research I've heard that there isn't an Open GL function for setting transparency of certain pixels.

    I'm, desperately running out of time, please can you post me to a good simple tutorial if you've found one.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: blending a polygon for transparency

    Simply use a RGBA texture, or directly glDrawPixels ?
    Not sure I understand your question.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Nov 2010
    Location
    Brazil, Rio de Janeiro
    Posts
    147

    Re: blending a polygon for transparency

    Guess he only need to use GL_RGBA setting the appropriate alpha values.

Similar Threads

  1. Transparency issues, polygon sorting, headaches...
    By JCipriani2 in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 05-10-2008, 12:50 AM
  2. transparency: RGBA or BLENDING ?
    By SebastianB in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 07-08-2002, 03:04 AM
  3. Transparency / Blending Problem
    By mphanke in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 04-22-2002, 05:26 AM
  4. blending and transparency
    By Warrior in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-06-2001, 12:36 AM
  5. Blending & Transparency
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-15-2000, 11:47 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