Color Mask Standard Shader

Color Mask Standard Shader contains two new versions of the Standard and StandardSpecular shader with added Color Mask feature. The Color Mask shader is fully integrated with Unity’s Precomputed Realtime Global Illumination.

Web Demo

Possible uses: User Edited Content, Team Colored Textures, Architecture/Home Decorating Apps, Procedural Art Media, Terrain Customization, etc…

My goal for the Color Mask Standard Shader was to change the Standard Shader as little as possible to prevent problems updating this asset as new versions of Standard Shader are released.

I used a blending method of Color Mask for maximum efficiency; this asset does not shift the Hue value of the Albedo texture as that kind of operation is more expensive. Instead it works more like a Decal for which you can set the color and opacity used by each of the Color Mask texture’s four color channels.

I hope this will come in handy for my fellow unity developers. Please post any feedback or questions you may have :slight_smile:

Been waiting for this exact asset to be created - hoping I wouldnt have to hack together a cobbled mess of an attempt at it.

Thank you - David.

Not a problem, glad to be of service :slight_smile: Don’t hesitate to contact me if you have feedback or questions.
Thanks

Unity 5.2.0 compatibility update is now live:

Thank you for your support, I’m hoping to add a brand new feature soon :slight_smile:

This shader support for mobile platforms ?

I have tested it on Android; I just updated the apk and added a download link to the webplayer page:
http://davidlycan.com/colormask/ColorMaskWeb.html

direct link:
http://davidlycan.com/colormask/ColorMask.apk

I assume it works on iOS and other mobile platforms as well; whatever supports the Standard Shader. I don’t think realtime global illumination is supported by WebGL but the shader itself works. I will have to do more testing :slight_smile: