kondrak / vkQuake2

id Software's Quake 2 v3.21 with mission packs and Vulkan support (Windows, Linux, macOS, FreeBSD, Raspberry Pi 4)
GNU General Public License v2.0
896 stars 90 forks source link

Disable 2D Texture Filtering (HUD, Menu GFX, etc.) #142

Closed OpenRift412 closed 1 year ago

OpenRift412 commented 2 years ago

Could we get an option to turn off the texture filtering that's specifically applied to HUD and menu elements? I think these were designed without the filtering in mind, as in the vanilla game, they aren't filtered at all.

kondrak commented 2 years ago

Are you sure about the vanilla game? I just checked and all textures are filtered the same way, I even compared output images between OpenGL and Vulkan and both cases apply linear filtering. Still, this shouldn't be too difficult to implement, so I guess I could add a toggle.

OpenRift412 commented 2 years ago

Are you sure about the vanilla game? I just checked and all textures are filtered the same way, I even compared output images between OpenGL and Vulkan and both cases apply linear filtering. Still, this shouldn't be too difficult to implement, so I guess I could add a toggle.

I just checked my vanilla 3.20 .exe in several resolutions in GL mode, and the only thing that is filtered is the console background.

Slider-Whistle commented 1 year ago

I don't know whether this is how it's meant to look, but I sure know that it's ugly lol. Would be all for some kind of option to manage it myself. enquake

kondrak commented 1 year ago

So I looked at this again with a fresh mind and honestly - no idea where the differences come from :) I screen capped the "vanilla" Quake 2 HUD in OpenGL and compared it against what vkQuake2 outputs in Vulkan - the images are exactly the same. As for the quit screen image - yeah, not looking the prettiest but it's also part of preserving original behaviour of the game, so it's not something that's going to be addressed, either.

hud

I'll close this issue, since the project is already complete feature-wise and I don't really spend more time than needed on it (bug-fixing, testing new Vulkan features, minor tweaks etc.).

Slider-Whistle commented 1 year ago

Great work, sounds like I was pretty lucky to get that tiny no-music thing to get implemented