- Unreal Engine 4 Shaders and Effects Cookbook
- Brais Brenlla Ramos John P. Doran
- 184字
- 2021-06-24 14:12:19
There's more...
We've seen how to use masks to drive the appearance of a material in the previous section. With that said, there's a limitation to that technique with regards of masking—having three or four different channels per texture means that we can have as many masks per image at most. Even though this is sometimes enough, there are always situations where we are bound to want more masks. In those situations, we can either use another image (which would give us three or four extra masks) or use a different technique—color masking.
That last method is one we haven't explored, as it isn't native to Unreal, but it can certainly be useful. The only thing we need to do is have a color texture where each individual color masks an area we want to operate on, as in the following screenshot:

The idea is to color pick from the colored texture the areas that we want to apply a certain effect on. If this is of interest, you can find more information about that at the following link: https://answers.unrealengine.com/questions/191185/how-to-mask-a-single-color.html.
- Java多線程編程實戰指南:設計模式篇(第2版)
- Unreal Engine Physics Essentials
- 復雜軟件設計之道:領域驅動設計全面解析與實戰
- React.js Essentials
- Spring Boot進階:原理、實戰與面試題分析
- ElasticSearch Cookbook(Second Edition)
- Node Cookbook(Second Edition)
- Red Hat Enterprise Linux Troubleshooting Guide
- 寫給程序員的Python教程
- Hands-On Neural Network Programming with C#
- PHP與MySQL權威指南
- Oracle Data Guard 11gR2 Administration Beginner's Guide
- 網絡綜合布線與組網實戰指南
- Java服務端研發知識圖譜
- 微服務設計