#include "spotlight.cg"
#include "pointlight.cg"
#include "blinn.cg"
#include "checker.cg"
#include "blend.cg"

float4 main (vertexOutput IN,
             uniform Material material,
             uniform Light lights[] ) : COLOR
{
    float4 color;
    color.rgb = material.evaluate(IN, lights);
    color.a = 1.0;
    return color;
}
