This project is read-only.

Set the scene background to transparency

Oct 5, 2011 at 6:15 PM


Is there a way to set the scene background to transparency. I mean most of the tutorial have the background color in light blue and I want it to be transparent?

Make it like

this.scene.BackgroundColor = new Color(255, 255, 255, 0); doesn't work.



Oct 14, 2011 at 4:17 PM

I don't understand why you would make your background  color transparent. The BackgroundColor is used for clearing up the screen using Graphics.Device.Clear(..) so it can never be transparent. You can however, set the BackgroundTexture to be transparent, but it will be alpha-blended with BackgroundColor.


Oct 14, 2011 at 9:41 PM

Thank ohan,

The reason I want to make it transparent is I'm trying to test GoblinXNA with the new see through Vuzix glass Star 1200. But you're right it can never be transparent.

I found away around it by making it black, then it is kind of transparent.




Oct 14, 2011 at 11:59 PM

Yes, for optical see-through glasses, black color is treated as transparent color.