shader
test_u_color_v_color_u_int (output color Cout = 0)
{
    color val = color(0.5*raytype("camera"), 0.75*raytype("camera"), 0.25*raytype("camera"));
    color val2 = color(P[1],P[2],P[0]);
        
    int c1 = raytype("camera");
    int c2 = 0*raytype("camera");
              
    color col = select(val, val2, c1);    
    color col2 = col;    
    
    if (int(P[0]*32)%2==0) {    
        col2 = select(val, val2, c2);
    }

    Cout = 0.5*col + 0.5*col2;
}
