PDA

View Full Version : showing only part of a texture



409er
11-26-2002, 09:12 PM
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!

Robbo
11-27-2002, 01:16 AM
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).]