fake shadow

how can I realize the fake shadow style Quake3
and Return To Castle Wolfenstein??
Thanks in advance