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

Instancing a material

We've seen how to set up the material graph for a small prop in the previous recipe, something that we are sure to be doing multiple times every time we create a new material. Something extra that we can now do is to create an instance of that previous asset: basically, a copy of the previous material that is quicker to edit and that doesn't need to be compiled every time we make a change.

This technique is especially useful precisely because of the removal of that compile time. As you've probably seen by now, every time you make a change to a material, you are then forced to click on the Compile and Save buttons. This can be a time consuming process in complex materials, especially if we only want to tweak a certain color or a specific value. Furthermore, the lack of compilation means that this specific type of asset can be dynamically changed at runtime, which is quite powerful!

主站蜘蛛池模板: 清流县| 安丘市| 穆棱市| 体育| 科尔| 拜泉县| 平舆县| 合山市| 黑水县| 南汇区| 邓州市| 郴州市| 苍山县| 奉新县| 青岛市| 平邑县| 云和县| 闵行区| 滦南县| 女性| 西宁市| 从化市| 凤凰县| 沂水县| 木兰县| 辛集市| 长汀县| 宁化县| 龙陵县| 昌乐县| 蒲城县| 三明市| 广宗县| 双牌县| 大同市| 岳阳市| 饶河县| 马关县| 济南市| 六盘水市| 滨海县|