- 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.
推薦閱讀
- Implementing VMware Horizon 7(Second Edition)
- AngularJS Testing Cookbook
- C#程序設計實訓指導書
- Web開發的貴族:ASP.NET 3.5+SQL Server 2008
- Bootstrap Essentials
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- C語言程序設計案例精粹
- 學Python也可以這么有趣
- 計算機應用基礎實踐教程
- Image Processing with ImageJ
- Node.js區塊鏈開發
- Android初級應用開發
- Python計算機視覺與深度學習實戰
- Offer來了:Java面試核心知識點精講(框架篇)
- Android應用開發攻略