shader
test_color_u_space_3xu_float (string colorspace = "--param colorspace must_be_provided", output color Cout = 0)
{
    float  val = 1.0/(2*raytype("camera"));
    float val2 = val/2;

    color c1 = color(colorspace, val, val, val);
    
    Cout = .666*c1;
    if (int(P[0]*32)%2==0) {
        Cout = color(colorspace, val2, val2, val2);
    }
    
}
