Advertisement

Bitmaps in OGL

Started by January 15, 2001 02:27 PM
0 comments, last by Corillian 23 years, 10 months ago
I am trying to create a main menu for my game. Is there a way you can just blit a bitmap to the screen without changing its size without using a quad? Also, how do you make specific colors in a bitmap transparant while the bitmap is being blitted.
i assume youre talking about textures and not bitmaps.

>>Is there a way you can just blit a bitmap to the screen without changing its size without using a quad<<

glDrawPixels of setup an ortho modelviewprojection (check the faq) and draw the textured poly to that

>>Also, how do you make specific colors in a bitmap transparant while the bitmap is being blitted.<<

manually alter the alpha of the pixels when u load the texture


http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement