Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rickomax/globaloutline
Global Outline - Unity (3D/UI/Sprites) full-screen masked outline shader
https://github.com/rickomax/globaloutline
Last synced: 3 months ago
JSON representation
Global Outline - Unity (3D/UI/Sprites) full-screen masked outline shader
- Host: GitHub
- URL: https://github.com/rickomax/globaloutline
- Owner: rickomax
- License: unlicense
- Created: 2019-03-21T02:52:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T11:23:29.000Z (almost 2 years ago)
- Last Synced: 2024-07-13T00:06:25.137Z (4 months ago)
- Language: C#
- Size: 105 KB
- Stars: 69
- Watchers: 4
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - globaloutline - Global Outline (Outline)
README
# Global Outline
Global Outline - Unity (3D/UI/Sprites) full-screen masked outline shader![logo](https://raw.githubusercontent.com/rickomax/globaloutline/master/screen.png)
This repository contains scripts and shaders used to add a full-screen outline effect to visual Unity components (Graphic or Renderer).
To use it, add the "OutlineManager.cs" script to the camera that will render the outline effect and call the "AddGameObject" method to add the effect to any GameObject that contains Graphics or Renderers. You can configure the effect size, color, and smoothness on the script properties.
You can also add the "OutlineTests.cs" script to an empty GameObject and fill the "ObjectsToApply" array with the objects you want to apply the effect to.
Known issues:
* Multiple outline effects aren't possible at the moment