Speed up Cel-Shading a bit

This commit is contained in:
Kevin Slaughter
2004-06-22 05:31:11 +00:00
parent 7d8d41838f
commit dbc4fcc187
+2
View File
@@ -424,9 +424,11 @@ bool Model::EarlyAbortDraw()
void Model::DrawCelShaded()
{
this->SetGlow(RageColor(0,0,0,1));
this->SetDiffuseAlpha(0);
DISPLAY->SetPolygonMode( POLYGON_LINE );
DISPLAY->SetLineWidth( 4 );
this->Draw();
this->SetDiffuseAlpha(1);
DISPLAY->ClearZBuffer();
this->SetGlow(RageColor(1,1,1,0));
DISPLAY->SetPolygonMode( POLYGON_FILL );