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

@ -694,7 +694,6 @@ int main(int argc, char *argv[])
memset (&parms, 0, sizeof(parms));
COM_InitArgv (argc, (const char **)argv);
TL_InitLanguages();
parms.argc = com_argc;
parms.argv = com_argv;
@ -713,6 +712,7 @@ int main(int argc, char *argv[])
#endif
parms.basedir = "./";
TL_InitLanguages(parms.basedir);
SV_Init (&parms);