||/&& commands for cubescript

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2567 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-13 19:26:41 +00:00
parent 007c532efe
commit f086def7af
2 changed files with 14 additions and 2 deletions
+8 -2
View File
@@ -1064,10 +1064,16 @@ void drawstencilshadows()
if(dbgtiles)
{
memcpy(shadowtiles, debugtiles, sizeof(debugtiles));
glDisable(GL_STENCIL_TEST);
glColor3f(0.5f, 0.5f, 1);
glColor3f(0.5f, 1, 0.5f);
memcpy(shadowtiles, debugtiles, sizeof(debugtiles));
rendershadowtiles();
glColor3f(0, 0, 1);
glDisable(GL_BLEND);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
memcpy(shadowtiles, debugtiles, sizeof(debugtiles));
rendershadowtiles();
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
}
glMatrixMode(GL_PROJECTION);