MonoGame - Background of 3D world on iOS is transparent, but BLACK on Android -


i new monogame/xna , trying create page render 3d model on video playing (i'm using surfacetexture play video).

i able accomplish have issue driving me nuts, background of 3d world black want transparent video visible. on ios, background transparent , works perfectly, on android black , no matter try cannot background transparent, graphicsdevice.clear(color.transparent) doesn't work on android, fine on ios.

here things have tried combat this:

  • set relativelayout's background transparent (the view game going into, no luck)

  • set game view's background transparent (no luck)

  • commented out on draw() , update() except graphicsdevice.clear() (no luck, still black)

  • set android theme of page translucent (no luck , looks horrendous)

  • use graphicsdevice.clear(cleartarget, colour, depth, stencil) instead (this corrupts model being drawn , background still black)

has experienced issue before , did solve it?

i have attached picture of happening in app, can see layout containing monogame view has black background, despite being set transparent. on ios background transparent.

apologies how squashed 3d world looks, did delibrately debug reasons, if can fixed make fill whole screen.

black background


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -