Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Alpha question  (Read 1948 times)

0 Members and 1 Guest are viewing this topic.

mongrol

  • Newbie
  • *
  • Posts: 29
    • View Profile
Alpha question
« on: February 14, 2010, 05:00:48 am »
This is probably a bit of a n00b question but I'm a bit confused after some tests. I have a png sprite, on top of that I have another png sprite that's a Crosshair. This crosshair is basically a red box with a transparent background. When I render the crosshair over the background the red bit is partially see through and appears blended in some manner. The rest of the alpha channel is 100% clear which is correct. Does this mean the alpha channel under the red bit is set at 50% or something? How do I mask it off completely and only allow just the "erased" bit of my image to show through?

I've been using Acorn to draw the images.

mongrol

  • Newbie
  • *
  • Posts: 29
    • View Profile
Alpha question
« Reply #1 on: February 14, 2010, 06:55:50 am »
Solved. image.SetSmooth(false).

 

anything