标签:inpu example ceo shader sharp amber float sha oid
Shader "Surface/Diffuse Simple" { SubShader { Tags{"RendType" = "Opaque"} CGPROGRAM #pragma surface surf Lambert struct Input { float4 color:COLOR; }; void surf(Input IN,inout SurfaceOutput o) { o.Albedo = 0.8; } ENDCG } Fallback "Diffuse" }
标签:inpu example ceo shader sharp amber float sha oid
原文地址:http://www.cnblogs.com/AlanCheng/p/7735677.html