implemented a fixed function fallback for water, but it is disabled
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 17 Oct 2007 04:51:47 +0000 (04:51 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 17 Oct 2007 04:51:47 +0000 (04:51 +0000)
commit76285e846057dd44284deb36b7b4a21a7768594c
tree7e31f8a52f18e89934194b94731413c8edf3a61f
parent2c4a8ba43fb2cbbda7f4393176b354749bb8f35d
implemented a fixed function fallback for water, but it is disabled
because of extreme distortion artifacts (it would need to use a cubemap
for perspective correction)
implemented two-pass rendering of water and refraction surfaces, this
enables blendfunc of the first layer to work properly, the old path is
still present but disabled

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7638 d7cf8633-e32d-0410-b094-e92efae38249
gl_backend.c
gl_backend.h
gl_rmain.c
r_shadow.c
render.h