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

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!

主站蜘蛛池模板: 沅江市| 长兴县| 赤壁市| 屏边| 科技| 乌鲁木齐市| 罗源县| 兴和县| 铁力市| 大悟县| 五台县| 安宁市| 青浦区| 邮箱| 定安县| 许昌县| 安泽县| 洛川县| 丹东市| 南安市| 泾阳县| 桃源县| 山阳县| 明水县| 沐川县| 顺平县| 灌云县| 会昌县| 怀化市| 汝州市| 迭部县| 乌海市| 饶阳县| 九江县| 安阳市| 光山县| 济阳县| 巴楚县| 临猗县| 河北区| 余姚市|