Skip to content

miguel12345/UnityGradientBackground

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 13, 2018 21:25
March 13, 2018 21:25
March 12, 2018 21:26
March 12, 2018 21:26
March 13, 2018 21:25
July 23, 2017 16:54
July 23, 2017 17:01

UnityGradientBackground

Get a beautiful background gradient just by adding a simple script to your camera!

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.

About

Get a beautiful background gradient just by adding a simple script to your camera!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published