hey i started with XNA 4 and made a simple particle system () but fading/alpha only works with BlendState.Additive and not with the others. i allready tryed some things (like color*0.4f etc) but i can't get it to work :(
plz help
PS: merry xmas :)
EDIT: found it out my self....
for everyone who need it
public Color ToColor()
{
return new Color((float)this.R / 255, (float)this.G / 255, (float)this.B / 255) * (float)(this.A / 255);
}
hey i started with XNA 4 and made a simple particle system () but fading/alpha only works with BlendState.Additive and not with the others. i allready tryed some things (like color*0.4f etc) but i can't get it to work :(
plz help
PS: merry xmas :)
EDIT: found it out my self....
for everyone who need it
public Color ToColor()
{
return new Color((float)this.R / 255, (float)this.G / 255, (float)this.B / 255) * (float)(this.A / 255);
}