Page 1 of 1

Alpha

Posted: Sun Apr 06, 2008 1:37 pm
by Kjell
Hi,

Quick question. Are Bitmaps in 24 or 32-bit? The following BitmapExpression doesn't seem to have any result.

Code: Select all

this.Pixel.A = Y;
Regards,
Kjell

Posted: Sun Apr 06, 2008 2:03 pm
by VilleK
It should be 32-bit. Try setting A to a constant 0.1 and see if there is a effect. Of course you need a material that use alpha, such as one minus source alpha.

Posted: Sun Apr 06, 2008 2:11 pm
by Kjell
Hej Ville,

*Doh, forgot to set the Material Blend :shock:

Thanks!
Kjell