Search Unity

Fullscreen Texture Alpha

Discussion in 'Scripting' started by twangsta, Jun 15, 2013.

  1. twangsta

    twangsta

    Joined:
    Mar 28, 2013
    Posts:
    17
    Hi,

    I'm writing a web app and am using a full screen texture with alpha.

    I have a plane some objects, etc that I'm generating at run time.

    In the unity editor player it works fine, but when I build I can only see my full screen texture.

    Any help in the right direction would be greatly appreciated.


    Thanks,
    Sid
     
  2. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212
    First off, why don't you use
    Code (csharp):
    1. new Rect(0, 0, Screen.width, Screen.height)
    ?

    Second, do you mean that in your build, the texture seems to have no alpha channel?
    Check your Texture for platform dependent import settings.