Speed up Cel-Shading a bit
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user