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"
}

  

 

posted on 2017-10-26 10:49  AlanE  阅读(102)  评论(0编辑  收藏  举报