mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-15 15:47:04 +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;
|
const int text_y = -nameDynamicRect.height() / 2;
|
||||||
|
|
||||||
// Compute background position/size
|
// 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 border = 0.1f * nameDynamicRect.height();
|
||||||
const int left = text_x - border;
|
const int left = text_x - border;
|
||||||
const int bottom = text_y - border;
|
const int bottom = text_y - border;
|
||||||
|
|
Loading…
Reference in a new issue