Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miguel12345/UnityGradientBackground
Get a beautiful background gradient just by adding a simple script to your camera!
https://github.com/miguel12345/UnityGradientBackground
Last synced: 3 months ago
JSON representation
Get a beautiful background gradient just by adding a simple script to your camera!
- Host: GitHub
- URL: https://github.com/miguel12345/UnityGradientBackground
- Owner: miguel12345
- License: mit
- Created: 2017-07-23T15:54:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-13T21:25:13.000Z (over 6 years ago)
- Last Synced: 2024-07-13T16:52:22.918Z (4 months ago)
- Language: C#
- Size: 32.8 MB
- Stars: 62
- Watchers: 7
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - UnityGradientBackground - Get a beautiful background gradient just by adding a simple script to your camera (Other Shaders)
README
# UnityGradientBackground
Get a beautiful background gradient just by adding a simple script to your camera!
![](readme/example.gif)
## Features
+ Supports horizontal, vertical and radial gradients
+ Supports up to 6 colors
+ Multiple radial ratio policies
+ Invert direction
+ Custom radial origin
+ Editor preview## Performance
+ Background is rendered after opaque objects to avoid unnecessary overdraw
+ Optimized shaders that avoid dynamic if conditions
+ Option to "bake" the background texture, thereby exchanging memory for performance## Instructions
1. Import the `Packages/GradientBackground` to your project
2. Add the `GradientBackground` component to your camera.