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

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.

主站蜘蛛池模板: 合川市| 麻栗坡县| 通渭县| 长白| 黄冈市| 北辰区| 那曲县| 共和县| 呼图壁县| 喀喇沁旗| 华阴市| 眉山市| 兰州市| 巧家县| 毕节市| 睢宁县| 扶风县| 昭平县| 丹东市| 元谋县| 太仓市| 海原县| 剑河县| 舞阳县| 肃南| 增城市| 克山县| 韩城市| 襄垣县| 小金县| 惠来县| 阳高县| 邳州市| 新兴县| 刚察县| 右玉县| 长岭县| 莱州市| 平利县| 定结县| 皋兰县|