you'd need alphablending
before rendering:
Dev.RenderState.AlphaSourceBlend = Blend.SourceAlpha
Dev.RenderState.AlphaDestinationBlend = Blend.InvSourceAlpha
Dev.RenderState.AlphaBlendEnable = True
while creating your texture, you need to add a few other arguments to it (im doing this at the top of my head, so i dont remember exactly what it is)
dim x as color
x = Color.FromArgb(255, 255, 255, 255) 'i think this is black, - the firrst argument refers to Alpha - 255 is the highest and you're saying "make a black color which is fully opaque, transparent)
texture = textureloader.fromfile ("texture.bmp",width,height,filter,filter,yourtransparentcolor.toArgb)
there may be more arguments but i donht remember exactly,
pent
(oh yeah the code i pasted was vb, it should be easy to do the same in C#
)
edit: oh yeah be sure to disable alphablending when you're done drawing the objects that should be transparent