-dirty


(mena666) #1

Hi.
It’s been quite a while since I asked Qs here in q3map2 support forum.

Because noone has ever seemed to ask this question I’ll ask it instead.

“What does -dirty stand for?”
“What is the main intention of its implementation?”
“And what do some of the hidden switches such as -dirtmode, -dirtgain & -dirtdepth do?”

I hope this thread sheds light to the undocumented features for the community. :drink:


(obsidian) #2

-dirty stands for dirt mapping, AKA ambient occlusion, a rendering algorithm that approximates light attenuation due to occlusion. AFAIK, the other switches are not functional.


(mena666) #3

Does “ambient occlusion” mean the reduction of flatness of ambient light?
I thought -dirty stood for “dirty trick”, “Dirty Harry” or “cheat”. :lol:

You mean only -dirty is functional?
But -dirtscale worked here though q3map2 complains the use of it.


(obsidian) #4

Compile a map with and without -dirty to see the difference yourself. The effect is most noticeable in nooks and crannies (that’s the occlusion bit). It doesn’t have anything directly related to Q3 ambient light.

-dirtscale might work… I don’t remember using it to any extent, but if Q3Map2 complains about it, it probably doesn’t.