Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/XJINE/Unity_TransparentWindowManager
Make Unity's window transparent and overlay on desktop.
https://github.com/XJINE/Unity_TransparentWindowManager
assets unity
Last synced: about 2 months ago
JSON representation
Make Unity's window transparent and overlay on desktop.
- Host: GitHub
- URL: https://github.com/XJINE/Unity_TransparentWindowManager
- Owner: XJINE
- License: mit
- Created: 2016-10-25T03:01:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T08:48:44.000Z (over 6 years ago)
- Last Synced: 2024-05-13T20:58:30.595Z (8 months ago)
- Topics: assets, unity
- Language: C#
- Homepage:
- Size: 1.15 MB
- Stars: 124
- Watchers: 8
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - Unity_TransparentWindow - Make Unity's window transparent and overlay on desktop (Effect)
README
# Unity_TransparentWindowManager
Make Unity's window transparent and overlay on desktop.
![](https://github.com/XJINE/Unity_TransparentWindowManager/blob/master/screenshot.png)
## Import to Your Project
You can import this asset from UnityPackage.
- [TransparentWindowManager.unitypackage](https://github.com/XJINE/Unity_TransparentWindowManager/blob/master/TransparentWindowManager.unitypackage)
### Dependencies
You have to import following assets to use this asset.
- [Unity_SingletonMonoBehaviour](https://github.com/XJINE/Unity_SingletonMonoBehaviour)
## 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.