- 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.
- DevOps with Kubernetes
- R語言數據分析從入門到精通
- Python從入門到精通(精粹版)
- RTC程序設計:實時音視頻權威指南
- PHP 編程從入門到實踐
- C# 8.0核心技術指南(原書第8版)
- 從零開始學Linux編程
- Photoshop CC移動UI設計案例教程(全彩慕課版·第2版)
- JavaScript從入門到精通(視頻實戰版)
- Visual Basic程序設計基礎
- 3D Printing Designs:Octopus Pencil Holder
- 算法精解:C語言描述
- Implementing Domain:Specific Languages with Xtext and Xtend
- C語言程序設計
- Magento 2 Developer's Guide