mesa/progs/fp/position.txt

5 lines
90 B
Plaintext

!!ARBfp1.0
MOV result.color, {0}.x;
MUL result.color.xy, fragment.position, {.005}.x;
END