Archived

This topic is now archived and is closed to further replies.

jeppa

Quake3 Shadow

Recommended Posts

quote:
Original post by jeppa
how can I realize the fake shadow style Quake3
and Return To Castle Wolfenstein??
Thanks in advance


Edited by - jeppa on December 18, 2001 2:12:44 PM


IIRC the Q3A engine uses shadows volumes using the stencil buffer, you can find some information bout them on http://developer.nvidia.com .

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by jeppa
how can I realize the fake shadow style Quake3
and Return To Castle Wolfenstein??
Thanks in advance
dunno about rtcw, but that fake q3a shadow is done by a texture beneath the player model that gets blendFunc GL_DST_COLOR GL_ZERO and polygonOffset.

Share this post


Link to post
Share on other sites
There are a few shadow modes in Q3. Type "/cg_shadows X" at the console with one of the numbers below in place of X to change the shadow mode.

0 - No shadows. Fastest.

1 - Circles underneath players. What the Anonymous Poster said. Default.

2 - Realistic transparent shadows cast by lights. What NuFan said. Slowest.

3 - Opaque black shadows that are projected onto the floor according to the light source. This is done by creating an all-black copy of the player model and scaling it depending on the location of the light to turn it into a flat form on the floor. Relatively fast.

In order of speed, the settings are 0, 1, 3, 2.

Share this post


Link to post
Share on other sites