Skip to main content
Support
Search our knowledge base

How can I make the canvas transparent on WebGL?

Comments

6 comments

  • The Lazy Coder

    This is awesome. So glad this was an option.

    0
  • Josef Shindler

    This doesn't appear to work anymore in 5.6.0f3. A blank project only containing this JS library doesn't have a transparent canvas. 

    1
  • Ahmed Almahdie

    Hi

     

    We were wondering how to make the "clearColor" from our camera transparent, is that possible using the same method you were discussing here or is it something eles we need to look out for ?

    I would really appreciate a response, thanks.

    0
  • Ahmed Almahdie

    Ok,, it's me again, sorry for bothering you with this. I've got it to work, using the method in this post : https://forum.unity.com/threads/webgl-with-transparency-on-the-cavas.327425/ (by : mgmhunt) . So it's ok for now. But if you've got any additional details you would like to share,I would also appreciate it . Thanks

    0
  • Bartek Pęksa

    Not working on 2018.3.9
    Does anyone know the solution?

    0
  • Corstiaan Smorenburg

    I'm in 2019.3 and I got it working but because of the clearing of Alpha, all my (semi)transparent PNGs also show the underlying video. Any of you know of a solution? Different camera for the canvas? Custom shader for my UI?? 

    0

Please sign in to leave a comment.