Quote Originally Posted by yahooshua View Post
Wow, the documentation on this is intense.
I am not sure if this coincides with night vision BUT when blue light hits your eyes it basically tells your brain not to produce melatonin. I have been using blue blockers sunglasses (remember those?) at night to use my computer to not mess up my sleep. The white in the text using the above filters has to much blue light in the white.
Exactly! I need it for the same purpose as you!

I experimented a bit, and here it is:

!!ARBfp1.0
TEMP tex, temp;
TEX tex, fragment.texcoord[0], texture[0], RECT;
DP3 temp.r, tex, {0.9, 0, 0, 0};
DP3 temp.g, tex, {0, 0.9, 0, 0};
DP3 temp.b, tex, {0, 0, 0, 0};
MOV temp.a, tex.a;
MOV result.color, temp;
END
Melatonin, you can come!