by mh » Sat Mar 19, 2011 11:03 pm
Yeah, I reckon you could do it with a table. Have a 256x256 table, look up the palette index in one dimension and a "fog depth" in the other to get the final palette index.
While we're at it: what's the big obsession with fog anyway? Quake fog is crap. What happens in the screenshot above if you dive into the lava pool? Crap, that's what happens. Nobody should be thinking of perpetuating this mistake. Get some proper standards in first.
Last edited by
mh on Sat Mar 19, 2011 11:06 pm, edited 1 time in total.