This image effect allows you to effortlessly create selectively inverted parts of the screen
- Creating the layer
SelectableInversion
- Add the
SelectableInversion
component to your main camera
The script is contained under the QFSW.SIIE
namespace
- Use Colored Inversion causes the image to approach a user specified color as the inversion approaches 50%, instead of the gray that would otherwise be achieved by combining an inverted image with a non inverted image
- Use Mask Color will use the color of the mask at that pixel for the mid inversion color instead of a constant user defined color
- Clear Color controls which color the Inversion Camera will clear to; you can also think of this as the default inversion value
Starting with Unity 2019.3, the package manager UI has support for git packages
Click the +
to add a new git package and add https://github.com/QFSW/SIIE.git
as the source
To install via package manager, add the file Packages/manifest.json
and add the following line to the "dependencies"
"com.qfsw.siie": "https://github.com/QFSW/SIIE.git"
Your file should end up like this
{
"dependencies": {
"com.qfsw.siie": "https://github.com/QFSW/SIIE.git",
...
},
}