2 GL_ARB_fragment_program
6 MOV result.position, vertex.position;
7 MOV result.texcoord[0], program.env[0];
8 MOV result.texcoord[1], program.env[1];
9 MOV result.texcoord[2], program.env[2];
15 LRP_SAT r0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
16 MUL result.color, 0.5, r0;
20 parameter env_vp 0 (0.5, 0.0, 1.0, 0.0)
21 parameter env_vp 1 (1.5, 4.5, 2.0, 1.0)
22 parameter env_vp 2 (-0.5, 4.5, 3.5, 1.0)
24 probe all rgba 0.25 0.5 0.5 0.5