I was wondering what is the easiest way to render bitmaps, containing non rectangular elements, through opengl. For example, if I have a bitmap image containing a star, how would I render just the star portion of the image to the screen?
If have done this before in windows using bitblt and having a corresponding mask image. However, I would like to do this in gl now. I image this can be done through blending, but I am not quite sure where to start.
I was wondering what is the easiest way to render bitmaps, containing non rectangular elements, through opengl. For example, if I have a bitmap image containing a star, how would I render just the star portion of the image to the screen?
If have done this before in windows using bitblt and having a corresponding mask image. However, I would like to do this in gl now. I image this can be done through blending, but I am not quite sure where to start.