摘要:
Shader "Surface/Diffuse Simple" { SubShader { Tags{"RendType" = "Opaque"} CGPROGRAM #pragma surface surf Lambert struct Input { float4 color:COLOR; }; void surf(Input IN,inout... 阅读全文
摘要:
//http://blog.csdn.net/poem_qianmo/article/details/49556461 Shader "Custom/Surface/MainText_1" { Properties { //2D、Rect、Cube的默认值后面可以跟上{} //TexGen texgenmode : 自动生成贴图的uv坐标。texgenmode参数可以是:Object... 阅读全文