摘要: Properties { _R("Radius", Range(0,100)) = 1.0 _ColorTex("ColorTex (RGB)", 2D) = "red" {} struct Input { float2 uv_MainTex; float3 worldPos; //flo... 阅读全文
posted @ 2017-12-19 14:44 酷熊 阅读(1172) 评论(0) 推荐(0) 编辑
摘要: CGPROGRAM // Physically based Standard lighting model, and enable shadows on all light types #pragma surface surf Standard fullforwardshadows vertex:vert struct Input { ... 阅读全文
posted @ 2017-12-19 12:31 酷熊 阅读(2789) 评论(0) 推荐(0) 编辑