Results 1 to 2 of 2

Thread: showing only part of a texture

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2002
    Posts
    5

    showing only part of a texture

    hi
    i have a control panel at the bottom of my screen that is blue but blended with the scene i'm drawing behind. i'd like to draw icons on top of this panel, but my program takes only 2^n square bitmaps, and i'd like for just the icons to show (no square border around the icons). are stencil buffers the way to go? thanks!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Jul 2001
    Posts
    442

    Re: showing only part of a texture

    No need for stencil, just use Alpha Test.

    (erm, with Stencil you will need to draw a "mask" first and then your icon).

    [This message has been edited by Robbo (edited 11-27-2002).]

Similar Threads

  1. Texture not showing
    By BBeck1 in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 06-05-2016, 11:42 AM
  2. glGenerateMipmap is showing no texture
    By NightKn8 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-10-2013, 11:24 PM
  3. Texture not showing
    By shawn619 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-25-2012, 11:54 AM
  4. Texture not showing up
    By CoolBeanJ in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 03-20-2011, 06:36 AM
  5. texture not showing
    By amoskoh in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 10-29-2004, 09:53 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