fix weird alpha behavior with no lighting
This commit is contained in:
@@ -1539,7 +1539,11 @@ void RageDisplay_OGL::SetMaterial(
|
||||
}
|
||||
else
|
||||
{
|
||||
glColor4fv( emissive + ambient + diffuse );
|
||||
RageColor c = diffuse;
|
||||
c.r += emissive.r + ambient.r;
|
||||
c.g += emissive.g + ambient.g;
|
||||
c.b += emissive.b + ambient.b;
|
||||
glColor4fv( c );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user