Procedural Color Mask Shader
Description
Basically, this is a chroma key shader in a different implementation. This version allows you to select colors with a high precision by comparing colors in the HSV color space. This is necessary if you want to obtain a clear procedural mask for a specific color that can be used for customization or to create various visual effects. In the examples, I use it to recolor different parts of a character sprite, create shader animations and perform color correction.
Thank you for your purchase! I hope my product will be useful to you.
If you like it, please consider leaving a ⭐⭐⭐⭐⭐ review. It would help me a lot!
If you have any questions, feel free to ask on the Discord server.
🍀 Good luck with your projects!
Documentation

Ideal For
- Procedural Animation Masking
- Virtual Production
- Color Correction
- Complex Shaders
- Visual Effects
- Custom Pipelines
Key Features
- Use any color as a mask
- High color selection accuraciy due to comparison in HSV color space
- Quickly prototype ideas and build dynamic materials without manually creating masks
- Quickly cut out objects or remove backgrounds
- Target and animate specific image regions
- Simple Chroma Keying with universal spill suppression
- Multiple masks in a single texture
- RGB ↔ HSV conversion
Material Functions
- Color Mask
- Universal Spill Suppression
- RGB to HSV & HSV to RGB Conversion
Usage Examples
- Basic Setup
- How to Use Mask for Animation
- Universal Chroma Key
- Easy Recolor Animation Pipeline
- Grayscale Gradient Animation
- Color Gradient Animation
- Color Correction
Supported Unreal Engine Versions
| Unreal Engine | 5.0 | 5.1 | 5.2 | 5.3 | 5.4 | 5.5 | 5.6 | 5.7 | 5.8 |
|---|---|---|---|---|---|---|---|---|---|
| Product version | v1.0 | v1.0 | v1.0 | v1.0 | v1.0 | v1.0 | v1.0 | v1.0 | v1.0 |
Changelog
v1.0
- Initial release