Selection box with alpha

This commit is contained in:
hasanalsamra 2016-08-29 15:50:58 +03:00 committed by GitHub
parent 78ff5c1936
commit 44af403b85
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ void Hud::drawSelectionMesh()
m_selection_mesh_color.getGreen() / 255);
u32 b = (selectionbox_argb.getBlue() *
m_selection_mesh_color.getBlue() / 255);
driver->draw3DBox(box, video::SColor(255, r, g, b));
driver->draw3DBox(box, video::SColor(100, r, g, b));
}
driver->setMaterial(oldmaterial);
} else if (m_selection_mesh) {