mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Increase anti z-fighting value
This commit is contained in:
parent
045a6a6ad9
commit
c38fa46eb1
1 changed files with 1 additions and 1 deletions
|
@ -746,7 +746,7 @@ void Avatar::renderDisplayName(gpu::Batch& batch, const ViewFrustum& frustum) co
|
|||
const int text_y = -nameDynamicRect.height() / 2;
|
||||
|
||||
// Compute background position/size
|
||||
static const float SLIGHTLY_BEHIND = -0.01f;
|
||||
static const float SLIGHTLY_BEHIND = -0.05f;
|
||||
const int border = 0.1f * nameDynamicRect.height();
|
||||
const int left = text_x - border;
|
||||
const int bottom = text_y - border;
|
||||
|
|
Loading…
Reference in a new issue