From 04442af2e97c4f66c8fba489c487b2fb42f99f3d Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 24 Jun 2012 02:09:13 +0000 Subject: [PATCH] - more alpha on building ghosting --- source/glest_game/graphics/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/graphics/renderer.cpp b/source/glest_game/graphics/renderer.cpp index 52d65f0b..82fcd263 100644 --- a/source/glest_game/graphics/renderer.cpp +++ b/source/glest_game/graphics/renderer.cpp @@ -4790,7 +4790,7 @@ void Renderer::renderUnitsToBuild(const int renderFps) { const UnitBuildInfo &buildUnit = qCache.visibleQuadUnitBuildList[visibleUnitIndex]; //Vec4f modelColor= Vec4f(0.f, 1.f, 0.f, 0.5f); const Vec3f teamColor = buildUnit.unit->getFaction()->getTexture()->getPixmapConst()->getPixel3f(0,0); - Vec4f modelColor= Vec4f(teamColor.x,teamColor.y,teamColor.z,0.5f); + Vec4f modelColor= Vec4f(teamColor.x,teamColor.y,teamColor.z,0.2f); renderGhostModel(buildUnit.buildUnit, buildUnit.pos, buildUnit.facing, &modelColor); //printf("Rendering to build unit index = %d\n",visibleUnitIndex);