Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HL1] Skybox texture is always filtered in OpenGL mode #2606

Open
MCHDaniel opened this issue Jul 20, 2019 · 9 comments
Open

[HL1] Skybox texture is always filtered in OpenGL mode #2606

MCHDaniel opened this issue Jul 20, 2019 · 9 comments

Comments

@MCHDaniel
Copy link

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

@JulianHeuser
Copy link

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.

@SamVanheer
Copy link

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.

@pudingus
Copy link

pudingus commented Nov 21, 2019

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

@MCHDaniel
Copy link
Author

Is there at least a workaround for this?

@PRinceBhai
Copy link

Why do you need this tho?

@MCHDaniel
Copy link
Author

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.

@pudingus
Copy link

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

@Riccardoman
Copy link

Anybody figured out how to disable the skybox filter?

@SirYodaJedi
Copy link

SirYodaJedi commented Jun 2, 2023

I think it should be a separate cvar. I've grown fond of the blurry skyboxes in the pixelated world; sort of like a psuedo depth-of-field. I'm sure I'm not the only crazy one who thinks this.

Additionally, forcing mipmapping would probably cause skybox texture seams at certain angles and resolutions (not to mention being a waste of VRAM, not that that was an issue). Something like a boolean gl_skyfilter that defaults to 1 if not present might work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants