6 lines
104 B
Plaintext
6 lines
104 B
Plaintext
|
!!ARBfp1.0
|
||
|
TEMP R0;
|
||
|
SUB R0, {0.5}.x, fragment.color;
|
||
|
CMP result.color, R0, fragment.color, {0.0}.x;
|
||
|
END
|