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

Using properties in a Surface Shader

Now that we have created some properties, let's actually hook them up to the shader so that we can use them as tweaks to our shader and make the material process much more interactive. We can use the Properties values from the material's Inspector tab because we have attached a variable name to the property itself, but in the shader code, you have to set up a couple of things before you can start calling the value by its variable name.

主站蜘蛛池模板: 甘德县| 霞浦县| 辉南县| 武陟县| 高安市| 吕梁市| 志丹县| 濮阳县| 建水县| 印江| 嘉兴市| 三原县| 静乐县| 巴中市| 望都县| 济源市| 清河县| 轮台县| 东港市| 土默特右旗| 应城市| 陆丰市| 丹棱县| 普兰县| 广河县| 双流县| 洪泽县| 贺州市| 辰溪县| 荔浦县| 赤城县| 桂东县| 扎兰屯市| 德令哈市| 临湘市| 阿克苏市| 龙泉市| 忻州市| 阳江市| 仁怀市| 晋江市|