mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Update color used for Cube3DOverlay border
This commit is contained in:
parent
c5f2b3b588
commit
2cb30c2157
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ void Cube3DOverlay::render(RenderArgs* args) {
|
|||
// later, but this is good enough for the use-case.
|
||||
glDepthMask(GL_FALSE);
|
||||
glPushMatrix();
|
||||
glColor4f(MAX_COLOR, MAX_COLOR, MAX_COLOR, 1.0f);
|
||||
glColor4f(1.0f, 1.0f, 1.0f, alpha);
|
||||
glScalef(dimensions.x * _borderSize, dimensions.y * _borderSize, dimensions.z * _borderSize);
|
||||
Application::getInstance()->getDeferredLightingEffect()->renderSolidCube(1.0f);
|
||||
glPopMatrix();
|
||||
|
|
Loading…
Reference in a new issue