随笔 - 26  文章 - 0 评论 - 0 trackbacks - 0

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  阅读(51)  评论(0编辑  收藏