7 lines
117 B
Plaintext
7 lines
117 B
Plaintext
|
!!ARBvp1.0
|
||
|
TEMP R0;
|
||
|
SUB R0, {0.5}.x, vertex.color;
|
||
|
LIT result.color, R0;
|
||
|
MOV result.position, vertex.position;
|
||
|
END
|