1
0
forked from 0ad/0ad
0ad/source/renderer
Matei 1a8cb85e08 Some water-related bug fixes:
- Underwater tiles will be tested against the frustum with a bounding
box including the water surface, so the water gets drawn even if the
terrain is off-screen.
- Transparent objects (e.g. trees) should now interact with water
properly. I did this by rendering them twice, first before the water, so
it overlaps the underwater pieces, then after, so the above-water pieces
overlap the water (the water now writes Z as well as colour to allow
this). Before, only the first pass was done, so the tops of trees were
covered by water. There might be more efficient ways of doing this - the
best could be for the transparent objects to be drawn with a shader that
always either discards a pixel or writes alpha of 1.0 instead of using
2-pass depth write then colour write.

This was SVN commit r3904.
2006-05-29 00:49:09 +00:00
..
AlphaMapCalculator.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
AlphaMapCalculator.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
BlendShapes.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
FixedFunctionModelRenderer.cpp * Fix: Silly operator precedence problem 2006-03-26 22:18:35 +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 Quieter and more informative error when using props/units/tools/basket.xml (and maybe others), where the model has bones but doesn't have a boned animation 2006-04-14 04:35:36 +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 Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
PatchRData.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
PlayerRenderer.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
PlayerRenderer.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Renderer.cpp Some water-related bug fixes: 2006-05-29 00:49:09 +00:00
Renderer.h Updates to water and a fix for a rendering bug with bar textures 2006-05-28 21:58:56 +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 #More accurate bounds calculations to improve shadow resolution 2006-03-26 21:58:48 +00:00
ShadowMap.h #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
SkyManager.cpp # Initial work on fancy water. 2006-05-25 05:46:17 +00:00
SkyManager.h # Initial work on fancy water. 2006-05-25 05:46:17 +00:00
TerrainOverlay.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
TerrainOverlay.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
TerrainRenderer.cpp Some water-related bug fixes: 2006-05-29 00:49:09 +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 Some water-related bug fixes: 2006-05-29 00:49:09 +00:00
TransparencyRenderer.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +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 Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
VertexBuffer.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
VertexBufferManager.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
VertexBufferManager.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
WaterManager.cpp Updates to water and a fix for a rendering bug with bar textures 2006-05-28 21:58:56 +00:00
WaterManager.h Updates to water and a fix for a rendering bug with bar textures 2006-05-28 21:58:56 +00:00