Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Ugliness in the display of player names #24

Meridian59 opened this Issue · 2 comments

2 participants


There are at least two problems with the display of player names in the 3D area when using the hardware renderer:

  • There's z-flighting between the name and its black "shadow"
  • Kerning isn't done quite right, and so there's sometimes a lot of extra space between letters.
@Meridian59 Meridian59 closed this
@Meridian59 Meridian59 reopened this

There's z-flighting between the name and its black "shadow"

Really? Different than on 103? I don't think we have z-fighting there for the names..
You could try increasing the delta between the following two values in D3DRenderNamesDraw3D (these are the zbias values for the name and the shadowname) - Like turn 254 into 250...

if (offset == 0)
pChunk->zBias = 255;
pChunk->zBias = 254;

It also should be mentioned that we use the following call also affecting DEPTHBIAS, in D3DRenderInit, which seems not yet be part of your port:

IDirect3DDevice9_SetRenderState(gpD3DDevice, D3DRS_SLOPESCALEDEPTHBIAS, F2DW(1.0f));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.