Vertex lighting
From Blood Wiki
(Difference between revisions)
m (→Usage of vertex lighting) |
m |
||
(3 intermediate revisions by one user not shown) | |||
Line 8: | Line 8: | ||
== Usage of vertex lighting == | == Usage of vertex lighting == | ||
{| cellspacing=0 cellpadding=2 width=500 | {| cellspacing=0 cellpadding=2 width=500 | ||
− | | width:50% align=right | Small | + | | width:50% align=right | Small objects: |
| width:50% | <font color=green>OK</font> | | width:50% | <font color=green>OK</font> | ||
|- | |- | ||
− | | align=right | Foliage (grass, | + | | align=right | Foliage (grass, mushrooms etc.): |
| <font color=green>OK</font> | | <font color=green>OK</font> | ||
|- | |- | ||
Line 23: | Line 23: | ||
| <font color=red>lack of shadows</font> | | <font color=red>lack of shadows</font> | ||
|- | |- | ||
− | | align=right | [[Radiant Glossary | Point entities]]: | + | | align=right | [[Radiant/Glossary | Point entities]]: |
| <font color=red>not applicable</font> | | <font color=red>not applicable</font> | ||
|} | |} | ||
== Console variables == | == Console variables == | ||
− | {{cvar|mod_q3bsp_nolightmaps|do not load lightmaps in [[Q3BSP]] maps, saves some | + | {{cvar|mod_q3bsp_nolightmaps|do not load lightmaps in [[Q3BSP]] maps, saves some memory but looks ugly}} |
==See also== | ==See also== |
Latest revision as of 22:11, 20 February 2013
Vertex-based lighting is technique to sample light at surface vertices and apply Gouraud shading during rendering.
Vertex lighting is most simple and fast lighting, it is used to store only low frequency data and will look bad at complex objects.
In Darkplaces engine, vertex lighting are part of map static lighting and being calculated each time map is compiled.
[edit] Usage of vertex lighting
Small objects: | OK |
Foliage (grass, mushrooms etc.): | OK |
Brush models: | Use with care, artifacts may occur |
Whole map: | lots of artifacts |
Terrain: | lack of shadows |
Point entities: | not applicable |
[edit] Console variables
mod_q3bsp_nolightmaps : do not load lightmaps in Q3BSP maps, saves some memory but looks ugly