float3 rgb;
float brightness;
float4 color(){
	return float4(rgb*brightness,1.0);
}

technique coloredPalms{
	pass p0{
        MaterialAmbient = color();
        MaterialDiffuse = color();
        MaterialSpecular = color();
	}
}
