Transparent Background (224109)

Hello,

I am trying to make a makeshift onscreen keyboard for Windows 10 and need the background to be transparent, to make it more convenient for the user. I, however, have no idea how to make the background transparent.

I believe that I am essentially looking for an updated version of this thread: [SOLVED!] Windows: Transparent window with opaque contents (LWA_COLORKEY)? - Unity Engine - Unity Discussions.

Any help would be greatly appreciated.

- You assign a material to the background - Go to the color property of the material and make alpha to 0 This should do the job if that's what you are asking in the question.

1 Answer

1

So the way to get Tautvydas-Zilys’s code to work is to uncheck “Use DXGI Flip Model Swapchain for D3D11” under Player Settings → Resolution and Presentation in the Unity version 2019.1.7.