Beta Hydro Screenshot and Early TF2 Screenshots found on my old PC

henke37

aa
Sep 23, 2011
2,075
515
You mean the expression of (1/2*(n*l)+1/2)*(k[blue]+ak[d])+(1-1/2*(n*l)+1/2)*(k[yellow]+bk[d])?

That's actually the wrong way to express it. Try blend(1/2*(n*l)+1/2,k[blue]+ak[d],k[yellow]+bk[d]), much simpler once the common blend factor is scaled out and the blending converted to function form.
 
Last edited:

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,697
2,581
Is there some shorthand for that formula somewhere in the material files, or was it all baked into the lightwarp?
 

henke37

aa
Sep 23, 2011
2,075
515
Sure is! The shorthand is the shader name, because the formula is stored in the shader code.

Well, the one I posted is probably partially baked into the lightwrap. But the other formula, the one with max, is completely in the shader code.