Skip to main content
GameDev.net gamedev.net
🔒 Locked

Problem with blend

Started by medium147 Nov 23, 2004 at 12:56 PM 0 replies 350+ views
Original Post
medium147
medium147
How must I do if I want that only a piece of an image must be trasparent. What kind of blend must I use?
nife
nife
To make the alpha channel transparent (alpha channels can be included in a targa, or made manually by your bitmap loader):
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
Killers don't end up in jailThey end up on a high-score!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.