halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[HL25]+[Legacy] OpenGL distorded UI with Nearest filtering.

Open Martyste opened this issue 3 years ago • 1 comments

There is visible tearing on the HUD textures on OpenGL renderer, when the gl_texturemode is set to "NEAREST", regardless of mipmap. These affect both 640 and 1280 scaling modes ( and potentially 2560 but untested ), and they also existed in the Legacy version's 640.

Expected display (Software): image

Distorded display (OpenGL): image On 1280 scaling, most of the characters show a column 3 pixels wide instead of 2. The effects are therefore stronger on 640.

I have also noticed similar but not identical distortions happen to HL25 players on YT using the same graphic settings: giberic image Eyepoke42 image

To reproduce the bug, HL25 must be launched with gl_texturemode already set to NEAREST ( if filtering is turned on/off in the menu or with console commands, it won't affect the filtering of the HUD until you restart the game ) and be played on OpenGL in any resolution.

Martyste avatar Nov 25 '23 10:11 Martyste

Probably caused by #3156

tmp64 avatar Nov 25 '23 15:11 tmp64