Go to file
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
binaries Updates to the water shaders and a fix to stamina bar display on ships. 2006-05-28 22:00:01 +00:00
build Added CppDoc. Updated autobuilder to use it. 2006-05-04 03:59:51 +00:00
docs Moved Excel document into docs. 2006-04-24 00:30:15 +00:00
source Some water-related bug fixes: 2006-05-29 00:49:09 +00:00
.gitattributes Initial revision 2003-09-21 21:24:53 +00:00