Halflife: [HL1] Skybox texture is always filtered in OpenGL mode

Created on 20 Jul 2019  路  8Comments  路  Source: ValveSoftware/halflife

The skybox texture in HL1 is always filtered regardless of gl_texturemode setting. In the following screenshot I'm using gl_texturemode GL_NEAREST.

23048754

Half-Life

Most helpful comment

The engine doesn't use the filtering settings for skies. BMP skies use the default setting (GL_LINEAR), and TGA skies explicitly set GL_LINEAR.

All 8 comments

I assume the reason for this is that skyboxes are stored as tga files and aren't a bmp in a wad like everything else. I'd like to see this fixed though, maybe give the ability to control filtering of skybox textures separately.

The engine doesn't use the filtering settings for skies. BMP skies use the default setting (GL_LINEAR), and TGA skies explicitly set GL_LINEAR.

cliffft_bilinear
cliffft_nearest
Look how it looks much better with nearest neighbor filtering

Is there at least a workaround for this?

Why do you need this tho?

I want to have crisp textures on everything without having to resort to using the software renderer, which is pretty buggy and has lower color depth.

try Xash3D Engine, but I don't remember if its fixed there

Anybody figured out how to disable the skybox filter?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

twisterniq picture twisterniq  路  4Comments

Hembi picture Hembi  路  3Comments

BlackShadow picture BlackShadow  路  3Comments

perforatorRU picture perforatorRU  路  3Comments

DreaDk picture DreaDk  路  4Comments