git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7380
d7cf8633-e32d-0410-b094-
e92efae38249
"#endif\n"
"\n"
"#ifdef USECONTRASTBOOST\n"
-//" color.rgb = SceneBrightness / (ContrastBoostCoeff + 1 / color.rgb);\n"
-//" color.rgb *= SceneBrightness / (ContrastBoostCoeff * color.rgb + 1);\n"
-" color.rgb = color.rgb * SceneBrightness / (ContrastBoostCoeff * color.rgb + 1);\n"
-//" color.rgb *= SceneBrightness; color.rgb /= ContrastBoostCoeff * color.rgb + 1;\n"
+" color.rgb = color.rgb * SceneBrightness / (ContrastBoostCoeff * color.rgb + myhvec3(1, 1, 1));\n"
"#else\n"
" color.rgb *= SceneBrightness;\n"
"#endif\n"