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

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!

主站蜘蛛池模板: 临湘市| 南丹县| 凤山市| 澄迈县| 荣成市| 海门市| 怀远县| 阳朔县| 闽侯县| 西贡区| 拜泉县| 双流县| 大姚县| 石景山区| 保靖县| 漠河县| 伊吾县| 武川县| 隆昌县| 鸡东县| 诏安县| 沐川县| 凤凰县| 华亭县| 宜黄县| 寻甸| 松桃| 南充市| 武夷山市| 昔阳县| 临朐县| 洪洞县| 晴隆县| 平凉市| 沁源县| 象山县| 开封市| 万州区| 景宁| 射阳县| 刚察县|