•      Sign In
• Create Account

### #Actualszecs

Posted 20 June 2012 - 05:00 AM

Blending and color-keying are different stuff. The former uses a specific color value (the rgb thing) do determine which pixel is fully opaque or fully transparent. The latter usually uses the alpha channel, so with the appropriate blending function, that will produce smooth blending (smooth "edges" for example). That's why you have that color around your letters, because the font is created with "smooth edges" in the image editor, so there are a lot of transitional-color pixels around edges, but color-keying works with one specific color value.. Just try this: open the font images in Paint, and use the bucket tool for colouring the background. The same ugly outline will show.

For alpha mapping, the image needs to have an alpha channel. This requires specific file formats and an image editor capable of adding/editing alpha channels (you can get around this with ugly hacks).

Do you save the images with appropriate file formats and with the alpha channel? PNG should be fine, but you have to select the option to save the alpha channel, is it has it at all.

Maybe I'm misunderstanding you...

### #3szecs

Posted 20 June 2012 - 05:00 AM

Blending and color-keying are different stuff. The former uses a specific color value (the rgb thing) do determine which pixel is fully opaque or fully transparent. The latter usually uses the alpha channel, so with the appropriate blending function, that will produce smooth blending (smooth "edges" for example). That's why you have that color around your letters, because the font is created with "smooth edges" in the image editor, so there are a lot of transitional-color pixels around edges. Just try this: open the font images in Paint, and use the bucket tool for colouring the background. The same ugly outline will show.

For alpha mapping, the image needs to have an alpha channel. This requires specific file formats and an image editor capable of adding/editing alpha channels (you can get around this with ugly hacks).

Do you save the images with appropriate file formats and with the alpha channel? PNG should be fine, but you have to select the option to save the alpha channel, is it has it at all.

Maybe I'm misunderstanding you...

### #2szecs

Posted 20 June 2012 - 04:56 AM

Blending and color-keying are different stuff. The former uses a specific color value (the rgb thing) do determine which pixel is fully opaque or fully transparent. The latter usually uses the alpha channel, so with the appropriate blending function, that will produce smooth blending (smooth "edges" for example). That's why you have that color around your letters, because the font is rendered with "smooth edges". Just try this: open the font images in paint, and use the bucket tool for colouring the background. The same ugly outline will show.

For alpha mapping, you need to have an alpha channel. This requires specific file formats and an image editor capable of adding/editing alpha channels (you can get around this with ugly hacks).

This are just vague explanations, but if you asked those question, I think these will be enough.
Plus i don't full understand what you are saying.

### #1szecs

Posted 20 June 2012 - 04:51 AM

Are you talking about blending or about color-keying? These are different stuff. The former uses a specific color value (the rgb thing) do determine which pixel is fully opaque or fully transparent. The latter usually uses the alpha channel, so with the approtpiate blending function, that will produce smooth blending (smooth "edges" for example). For this, you need to have an alpha channel. This requires specific file formats and an image editor capable of adding/editing alpha channels (you can get around this with ugly hacks).

This are just vague explanations, but if you asked those question, I think these will be enough.
Plus i don't full understand what you are saying.

PARTNERS