Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Ugliness in the display of player names #24

Open
Meridian59 opened this Issue · 2 comments

2 participants

@Meridian59
Owner

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
@cyberjunk

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;
else
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));

@Meridian59
Owner
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.