From dbc4fcc187b864dc440f1710f42f09e48cb3414a Mon Sep 17 00:00:00 2001 From: Kevin Slaughter Date: Tue, 22 Jun 2004 05:31:11 +0000 Subject: [PATCH] Speed up Cel-Shading a bit --- stepmania/src/Model.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Model.cpp b/stepmania/src/Model.cpp index 7a3a5dfb05..e64c0773b2 100644 --- a/stepmania/src/Model.cpp +++ b/stepmania/src/Model.cpp @@ -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 );