7 lines
204 B
Plaintext
7 lines
204 B
Plaintext
!!ARBfp1.0
|
|
# expected: the yellow vertex is the top one
|
|
# if it is the bottom one, the wrong origin convention is being used
|
|
MOV result.color, {0}.x;
|
|
MUL result.color.xy, fragment.position, {.005}.x;
|
|
END
|