packages feed

lambdacube-examples-0.1.1: media/Robot.material

vertex_program Examples/AmbientShadingVP  glsl
{
	//source ambient.vert
	//source diffuse.vert
	source toonf2.vert
}

fragment_program Examples/AmbientShadingFP  glsl
{
	//source ambient.frag
	//source diffuse.frag
	source toonf2.frag
}

material Examples/Robot
{

	// Software blending technique
	technique
	{
		pass
		{
			vertex_program_ref Examples/AmbientShadingVP
			{
				// map shininess from custom renderable param 1
				//param_named_auto shininess custom 1
			}
                        
			fragment_program_ref Examples/AmbientShadingFP
			{
				// map shininess from custom renderable param 1
				//param_named_auto shininess custom 1
			}
                        
  //          scene_blend modulate
//            depth_check off
//            depth_write off
//            cull_hardware none
//            cull_software none
			texture_unit
			{
				texture r2skin.jpg
                colour_op modulate
			}
//			texture_unit
//			{
//                colour_op modulate
//				texture GreenSkin.jpg
//			}
		}
	}

	technique
	{
		pass
		{
            lighting on
			texture_unit
			{
				texture r2skin.jpg
			}
		}
	}
}