Tex = CreateTexture(64,46,1+2)
Will create an alpha texture. You then need to set the alpha/color manually with Read/Write Pixels. Copyrecting from the backbuffer will not give you alpha, since the backbuffer has none.
You can use this to help.
Will create an alpha texture. You then need to set the alpha/color manually with Read/Write Pixels. Copyrecting from the backbuffer will not give you alpha, since the backbuffer has none.
You can use this to help.
Function GetRGBA(red,green,blue,alpha) Return blue Or (green Shl 8) Or (red Shl 16) Or (alpha Shl 24) End Function