官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 政和县| 大理市| 关岭| 泗水县| SHOW| 渭源县| 灵石县| 锦屏县| 万盛区| 青岛市| 北票市| 梅河口市| 昭苏县| 神木县| 罗源县| 平安县| 牡丹江市| 杭州市| 皋兰县| 珲春市| 基隆市| 商河县| 铜鼓县| 潼南县| 云南省| 宕昌县| 馆陶县| 孟州市| 板桥市| 康乐县| 崇仁县| 安泽县| 安达市| 清新县| 乐东| 通化县| 额敏县| 汉沽区| 开平市| 日照市| 筠连县|