- more alpha on building ghosting
This commit is contained in:
parent
b08e04fa70
commit
04442af2e9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue