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

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.

主站蜘蛛池模板: 新邵县| 龙川县| 那曲县| 华池县| 普陀区| 遂昌县| 河源市| 辰溪县| 马龙县| 安化县| 南平市| 静安区| 宜兰市| 达州市| 平武县| 寿光市| 通道| 噶尔县| 固始县| 邳州市| 毕节市| 罗定市| 玉龙| 府谷县| 岑溪市| 和静县| 嵊泗县| 菏泽市| 正宁县| 红桥区| 丹棱县| 永宁县| 淄博市| 嵩明县| 镇远县| 特克斯县| 泊头市| 邵东县| 奉节县| 云梦县| 越西县|