reworked the shader system slightly.

$diffuse can now sample animmaps correctly (although this only makes sense when using glsl or replacement shaders (read: rtlights)).
$fullbright now defaults according to the animmap too.
added reflectcube and reflectmask (the latter defaults according to map/animmap, the former needs to be explicitly stated).
fix d3d9+d3d11 renderers a little. needs much more work.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4868 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2015-05-03 19:57:46 +00:00
parent 5ecd9cc5dd
commit 2afefb77ca
82 changed files with 1877 additions and 923 deletions

View file

@ -478,6 +478,10 @@ void SV_DropClient (client_t *drop)
#ifdef SVCHAT
SV_WipeChat(drop);
#endif
if (sv.world.worldmodel->loadstate != MLS_LOADED)
Con_Printf(CON_WARNING "Warning: not notifying gamecode about client disconnection due to invalid worldmodel\n");
else
switch(svs.gametype)
{
case GT_MAX: