diff --git a/src/BitmapText.cpp b/src/BitmapText.cpp index 67747918cf..bf236f8fa5 100644 --- a/src/BitmapText.cpp +++ b/src/BitmapText.cpp @@ -700,6 +700,21 @@ void BitmapText::DrawPrimitives() // Draw if we're not fully transparent or the zbuffer is enabled if( m_pTempState->diffuse[0].a != 0 ) { + // render the shadow + if( m_fShadowLengthX != 0 || m_fShadowLengthY != 0 ) + { + DISPLAY->PushMatrix(); + DISPLAY->TranslateWorld( m_fShadowLengthX, m_fShadowLengthY, 0 ); + + RageColor c = m_ShadowColor; + c.a *= m_pTempState->diffuse[0].a; + for( unsigned i=0; iPopMatrix(); + } + // render the stroke RageColor stroke_color= GetCurrStrokeColor(); if( stroke_color.a > 0 )