Color Isolation

Add drama to your games by isolating zones by colors.

DEMO UNITY

Editor

Once installed, select the camera of the scene and add the component ‘Color Isolation‘. When you add it you will see something like:

With ‘Strength‘ (1) you can select the strength of the effect. In 2 you can select the color you want to isolate using ‘Hue‘. You can adjust the precision in ‘Range‘.

In zones 2 and 3 you can adjust some color parameters in the isolated zone (2) and in the rest (3).

Finally, by pressing 5 you can access the online help and in ‘Reset‘ (6) to return to the default parameters.

Code

All code is inside the namespace ‘Ibuprogames.ColorIsolationAsset‘ and main component is ‘ColorIsolation‘. So if you want to use it you must first import its namespace:

1using Ibuprogames.ColorIsolationAsset;

If ‘myCamera‘ is a valid camera and you want to add the effect, you should do something like:

1ColorIsolation colorIsolation = mycamera.gameObject.AddComponent<ColorIsolation>();

All the code are well commented, I recommend reading the code if you want more information.

Any questions or suggestions you have, we will be happy to answer you in our mail:

You Might Also Like

No Comments

Leave a Reply