Universal Chroma Key Shader

$9
Publisher Rodrigo Perez
File size 7.55MB
Number of files 10
Latest version 1
Latest release date 2015-05-14 11:09:31
First release date 2014-02-18 10:33:32
Supported Unity versions 2018.4.2 or higher
Universal Chroma Key Shader provides you a simple shader to achieve the chroma key compositing effect on any texture, including movie textures.

It makes the selected color of your texture (image, video or webcam capture) transparent, so you can easily remove the background.

Then you can place any other content behind or in front.

Examples of uses:
-Removing the background of a video to simulate another background
-Get textures with transparency using JPG files instead of bigger PNGs with alphas
-Create 3D parallax effects

Features:
-You can select the color to be removed (usually green, but any color can be assigned).
-You can control the color tolerance to remove similar colors.
-You can control the strength of the cutoff.
-You can change values during runtime.
-You can use the shader multiple times in the same scene.

Included in the package:
-The shader
-Sample scene

Tested Platafforms
-Windows and Mac Standalone
-Android
-WebPlayer
Should work on all other plattaforms.

For a live example and more info go to:
http://www.rodripf.com/project/universal-chroma-key-shader/

Top Publisher Assets