1
0
forked from 0ad/0ad
0ad/source/renderer
prefect e2bbd9a654 #Models receive shadows now, including self-shadows.
This is a huge patch, including:
* add a LitRenderModifier abstract base class for RenderModifiers with
  shadow+light
* add LitRenderModifiers for all types of models
* add STREAM_TEXGENTOUV1 to request generation of shadow map texcoords
  for models
* create facilities to pass the texture matrix from the
  RenderModifier (fragment stage) to the ModelRenderer (vertex stage)
* split ambient and diffuse terms of lighting until further down in the
  pipeline; this is necessary since shadowed regions receive only
ambient light
* small improvement in how RenderPathVertexShader scales to a greater
  number of vertex shaders

This was SVN commit r3690.
2006-03-26 00:54:20 +00:00
..
AlphaMapCalculator.cpp added precompiled.h everywhere 2004-06-03 18:38:14 +00:00
AlphaMapCalculator.h Moved from terrain directory. 2004-05-29 20:53:40 +00:00
BlendShapes.h Moved from terrain directory. 2004-05-29 20:53:40 +00:00
FixedFunctionModelRenderer.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
FixedFunctionModelRenderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
HWLightingModelRenderer.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
HWLightingModelRenderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
InstancingModelRenderer.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
InstancingModelRenderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
ModelRenderer.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
ModelRenderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
ModelVertexRenderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
PatchRData.cpp Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
PatchRData.h - Terrain self-shadows (only noticeable with a low angle of sun) 2006-02-13 14:18:20 +00:00
PlayerRenderer.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
PlayerRenderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
Renderer.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
Renderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
RenderModifiers.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
RenderModifiers.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
RenderPathVertexShader.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
RenderPathVertexShader.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
ShadowMap.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
ShadowMap.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
TerrainRenderer.cpp Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
TerrainRenderer.h - Terrain self-shadows (only noticeable with a low angle of sun) 2006-02-13 14:18:20 +00:00
TransparencyRenderer.cpp #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
TransparencyRenderer.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
VertexArray.cpp renderer: load/unload water textures (similar to alpha maps); do that in delay load and avoid leaking them. 2005-10-12 04:16:41 +00:00
VertexArray.h g_keys[] has been made redundant by SDL's key array; use SDL_GetKeyState instead to get address of new keys array 2005-10-31 16:26:51 +00:00
VertexBuffer.cpp Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
VertexBuffer.h minor warning fixes: struct vs. class forward decl; size_t vs uint 2006-01-29 18:38:40 +00:00
VertexBufferManager.cpp Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
VertexBufferManager.h Explicitly call VertexBufferManager cleanup code, since we can't rely on 2005-10-04 20:54:47 +00:00
WaterManager.cpp Advance water in sync with simulation and unit animations (so it stops when the game is paused). 2006-01-21 23:27:42 +00:00
WaterManager.h Texture converter, DevIL: ABGR DDS support. 2006-03-14 21:29:19 +00:00