mesa/progs/vp/flr.txt

7 lines
117 B
Plaintext

!!ARBvp1.0
TEMP R0;
ADD R0, vertex.color, {0.5}.x;
FLR result.color, R0;
MOV result.position, vertex.position;
END