Nvidia Shader Replacement In Doom3

the shader replacement that came out a few days after, he changed the pow with a mad_sat, You should see the latest shader replacement before you bash it....
 
Spank said:
the shader replacement that came out a few days after, he changed the pow with a mad_sat, You should see the latest shader replacement before you bash it....
actually his last shader hack was (the last tweak he posted omitted the .w from R1):
MAD_SAT R1, specular, 4.0, -3.0;
MUL R1, R1, R1;
that's an approximation of a power function, but not nearly the "exact sequence of math ops that the table encodes." Maybe I'm missing the "series of clamped biases and squares that looks something like a power function" in that code or it just isn't there. :p There's no point arguing that... either you believe Carmark or Humus.

Humus made 3 different replacements (4 or 5 tweaks total, depending on how you count them) and I have tested them all, including image quality analysis and benchmarking. Do a search if you want to see the results. The first 3 versions were way off, the last 2 (mad_sat/mul replacement) versions were a lot closer, but still off.
 
Back
Top