Breakpoint infiltration?!
category: general [glöplog]
I liked the old rasmus better..
You comment your code? :O
comments are for wussies!!
No, comments are so that you can go through your code months later and know what it does within less than a second.
But that's a shitload of comments.
But that's a shitload of comments.
this is how you should comment your code!
Awesome.
it all depends on the pay check
Check this:
The International Obfuscated C Code Contest
The International Obfuscated C Code Contest
Code:
// change abs to -abs to switch fog from white to black
float fogFactor = exp2(abs(IN.fog));
// joo taikuutta saatana jänis älä koske tai hajoo
float alpha = 1-exp2(-abs(IN.fog*0.35));
/* float dist = distance(IN.itpos.xyz, light1);
if (dist < 1) alpha += 0.5;*/
OUT.color0 = float4(fogFactor*color, alpha);