Skip to content

XJINE/Unity_TransparentWindowManager

Repository files navigation

Unity_TransparentWindowManager

Make Unity's window transparent and overlay on desktop.

Import to Your Project

You can import this asset from UnityPackage.

Dependencies

You have to import following assets to use this asset.

How to Use

Clear Color Settings

To make transparent window, set Camera.ClearFlags to SolidColor, and the Camera.Background to (0,0,0,0). When set Camera.Background to (1,1,1,0), the result gets wrong.

Limitation

This is for Windows, not works on Mac or any others.

Transparency is ignored when use window mode in some laptop (especially when it use mobile type GPU). Need to use full-screen mode in such case.

In another way, use command-line option like a following and make the popup-window which has more over full-screen resolution.

-popupwindow -screen-width xxxx -screen-height xxxx

Tearing

Sometimes gets tearing and I can't find the cause. However, it is not serious.

Jaggy

There is a little jaggy even if use anti-aliasing, especially in low-dpi.

Anti-Aliasing

Some anti-aliasing shader gets wrong result.

DLAAWrong edges appears in the result.
FXAA2Some non-transparent pixel gets wrong transparency.
FXAA3All of the transparent pixel (in backgrounds) losts the transparency in the result.

About

Make Unity's window transparent and overlay on desktop.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages