7 PARAM p2 = program.local[2];
8 PARAM bias = { 0.5, 0.5, 0.5, 0.5 };
10 MOV result.position, vertex.position;
11 DP3 t, p2, vertex.color;
12 ADD result.color, t, bias;
17 color 0.25 0.75 0.5 0.25
18 parameter local_vp 2 (-1.0, 0.0, 0.25, -0.5)
19 draw rect -0.25 -0.25 0.5 0.5
20 relative probe rgba (0.5, 0.5) (0.375, 0.375, 0.375, 0.375)