ValveSoftware / halflife

Half-Life 1 engine based games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[CS;CZ] [HL25] Model textures get warped further away

HLRaven opened this issue · comments

image
(Schoolgirl.mdl very obvious texture corruption)
I noticed that in CS:CZ and Deleted Scenes models seem to warp around with their textures the more you walk away from the model, most noticable is the civilians in CSCZDS, but it does happen on the normal playermodels aswell but very subtle.

image

Is this a model issue or a shader issue?
(urban, gsg9, gign, spetsnaz subtle texture corruption on the back of their helmets)

It seems to me that this is happening because the 25th build applies texture filtering to the character models, while the legacy version does not. Or at least not in the same way. And then, when you apply the increase of 90° FOV on top of that, the texture warping on the character models is exacerbated.

Using texture mode gl_linear fixes the warping versus using gl_linear_mipmap_linear.

So, texture mode gl_linear_mipmap_linear is functioning differently in the 25th build versus the legacy build.

While it's not as apparent, it is also shown in hl1 (Barney's face), which I found most noticeable with the hev battery item and the Gman.
mip1
mip2
mip3

It seems to me that this is happening because the 25th build applies texture filtering to the character models, while the legacy version does not. Or at least not in the same way. And then, when you apply the increase of 90° FOV on top of that, the texture warping on the character models is exacerbated.

Using texture mode gl_linear fixes the warping versus using gl_linear_mipmap_linear.

So, texture mode gl_linear_mipmap_linear is functioning differently in the 25th build versus the legacy build.

gl_linear doesn't fix the issue completely because it creates another. Now the far parts of the map/world are pixelated/unfiltered (similar to using gl_nearest).

gl_linear - models fixed, but check the far wall behind the vent
cs_assault0000

gl_linear_mipmap_linear - weapon and player models blurry/filtered again
cs_assault0002

You can see the difference better here (open image in fullscreen)

gl_linear
cs_assault0003

gl_linear_mipmap_linear
cs_assault0004