Advertisement

blending

Started by April 15, 2001 03:13 PM
1 comment, last by nika 23 years, 7 months ago
hi! i have a little problem with my menu. i have bmp-textures and i want to blend away the white part of these textures. can someone tell me the blendfunction i have to use?
i think i have to use glTexEnv(). but i don''t know how.
Advertisement
add an alpha channel to your texture and use blending with GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA

http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement