Difference between revisions of "R shadows"
Line 1: | Line 1: | ||
Name: r_shadows<br> | Name: r_shadows<br> | ||
Default value: "0"<br> | Default value: "0"<br> | ||
− | Flags: archive renderlatch <br> | + | Flags: [[archive]] [[renderlatch]] <br> |
<br> | <br> | ||
<br /> | <br /> |
Revision as of 06:49, 30 October 2005
Name: r_shadows
Default value: "0"
Flags: archive renderlatch
Possible values: 0 / 1 / 2
A setting of 2 invokes the fallback rendering, preventing any duel sided stencil extension in your opengl drivers. It should normally be used only if a value of 1 causes an issue.
Cvar flags: Cvar_Archive Cvar_RendererLatch
See also: r_shadow_realtime_world
Note that the origional flattened mesh type shadows are no longer supported. Old documentation will state that 2 uses stencil shadows while 1 uses that older effect. This is no longer true, and you'll get the same image with both. A value of 1 will give better fps.
You can use a value of 5 to disable the shadows and use the lighting without the shadows. This is noticably faster, but not as funky.
This is a sample screenshot on dm6. It also shows some bumpmapping.
<img src="http://fteqw.sourceforge.net/pics/fte00006.jpg" alt="Stencil Shadows screenshot">
Another example, the quad damage in it's natural environment on dm2.
shadows.jpg
Same as above, but with a rocket explosion.
shadow_plus_explosion.jpg