- Unity 2018 Shaders and Effects Cookbook
- John P. Doran Alan Zucconi
- 88字
- 2021-06-18 19:04:15
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.
推薦閱讀
- Learning Cython Programming(Second Edition)
- 嵌入式軟件系統(tǒng)測試:基于形式化方法的自動化測試解決方案
- C語言程序設計習題解析與上機指導(第4版)
- Practical Data Science Cookbook(Second Edition)
- 華為HMS生態(tài)與應用開發(fā)實戰(zhàn)
- Java程序員面試算法寶典
- Expert Android Programming
- D3.js By Example
- 軟件測試綜合技術
- 零代碼實戰(zhàn):企業(yè)級應用搭建與案例詳解
- 從Power BI到Analysis Services:企業(yè)級數(shù)據(jù)分析實戰(zhàn)
- 軟件測試技術
- 百萬在線:大型游戲服務端開發(fā)
- Learning Cocos2d-JS Game Development
- 深入大型數(shù)據(jù)集:并行與分布化Python代碼