summaryrefslogtreecommitdiffstats
path: root/progs/vp/ex2.txt
blob: bbef67bbb8a6b0d50a70aed3fbc4cbaec2f0be28 (plain)
1
2
3
4
5
6
!!ARBvp1.0
TEMP R0;
EX2 R0, vertex.color.x; 
SUB result.color, R0, {1.0}.x;
MOV  result.position, vertex.position;
END