showing only part of a texture

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!

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).]