Increase performance for high-res textures

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
etbasch
Posts: 25
Joined: Wed Apr 10, 2019 5:42 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Ukraine

Increase performance for high-res textures

Post by etbasch »

I like to use mods adding new high-resolution textures for classic Doom instead of vanilla ones. However, even with the Vulkan API enabled, for big maps with a lot of objects and textures, I experience lags and frame rate drops when playing with these mods.
Question: can I do anything to these textures and mods to make the game perform better? As a possible solution I was thinking about:
  • shrinking the textures to half their size, so that they are still bigger than vanilla ones, but smaller than their originals;
  • converting texture files to other format readable by Doom engine, for example, PNG, JPG, DDS, GIF, BMP etc.
  • convert the texture file into a Doom lump (not sure how to do that, and if Doom lump is actually different than a normal image file)
Are there any other ways to make Doom engine process graphic files faster?
User avatar
Hellser
Global Moderator
Posts: 2777
Joined: Sun Jun 25, 2006 4:43 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Citadel Station

Re: Increase performance for high-res textures

Post by Hellser »

Make sure you're not using any upscaling texture filter first (Normal 4x, HQ4x, etc.). You would be surprised how hard your computer starts chugging if you're upscaling multiple 512x512 textures up by 4 times (2048x2048 oh my!) with an algorithm placed on top of that.

To avoid losing detail, make sure these are PNG already. You can try running PNGCrush to get smaller sizes. JPG might introduce artifacts and seams. GIF will actually produce larger sizes compared to that with BMP. Which might actually cause more lag -- loading a 52mb file and what not).

If this is something technical, what is your GPU and how much VRAM do you have available?
User avatar
etbasch
Posts: 25
Joined: Wed Apr 10, 2019 5:42 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Ukraine

Re: Increase performance for high-res textures

Post by etbasch »

Hellser wrote:Make sure you're not using any upscaling texture filter first (Normal 4x, HQ4x, etc.). You would be surprised how hard your computer starts chugging if you're upscaling multiple 512x512 textures up by 4 times (2048x2048 oh my!) with an algorithm placed on top of that.

To avoid losing detail, make sure these are PNG already. You can try running PNGCrush to get smaller sizes. JPG might introduce artifacts and seams. GIF will actually produce larger sizes compared to that with BMP. Which might actually cause more lag -- loading a 52mb file and what not).

If this is something technical, what is your GPU and how much VRAM do you have available?
Here's the current GZDoom video settings I use for gaming. Anything wrong with it?
And here's my GPU: NVIDIA GeForce GTX 970
And here's my VRAM for the monitor: 4096 MB
Attachments
SetupC.jpg
SetupB.jpg
SetupA.jpg
User avatar
Hellser
Global Moderator
Posts: 2777
Joined: Sun Jun 25, 2006 4:43 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Citadel Station

Re: Increase performance for high-res textures

Post by Hellser »

You're using ScaleNx (Scale 3x by the looks of it), if a texture is 1024x1024, that's 3072x3072 for just one texture. So you might need to turn that down to see if things clear up some.
User avatar
etbasch
Posts: 25
Joined: Wed Apr 10, 2019 5:42 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Ukraine

Re: Increase performance for high-res textures

Post by etbasch »

Hellser wrote:You're using ScaleNx (Scale 3x by the looks of it), if a texture is 1024x1024, that's 3072x3072 for just one texture. So you might need to turn that down to see if things clear up some.
Thank you. Changed to 2x. It helped. The HD textures in the mod are either 512x512, 512x1024 or 1024x1024.
Post Reply

Return to “Assets (and other stuff)”