Hires Images Lag for a while and then stop

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
TheGameratorT
Posts: 63
Joined: Sun Mar 04, 2018 4:42 am
Graphics Processor: nVidia with Vulkan support
Location: Portugal
Contact:

Hires Images Lag for a while and then stop

Post by TheGameratorT »

So, I'm using full screen images in PNG format at a resolution of 2160x1080 and downscaling them using HIRES to fit 512x256.
I'm using them in a weapon like this:

FOXY ABCDEFGHIJKLMNOPQRSTUVWXYZ 1 BRIGHT
FOXI ABC 1 BRIGHT
Loop

But when I use the weapon the frames seem to not be loaded and struggle to appear smoothly. Only after getting them to loop 6 times they start to work normally as they should, is there a fix for that?

If I pause the game for 1 minute and continue it starts struggling again.

Also I tried precaching GL textures and didn't solved the problem.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Hires Images Lag for a while and then stop

Post by Kinsie »

TheGameratorT wrote:is there a fix for that?
Yes. Don't use 2160x1080 weapon sprites. You're hurling a whole lot of data into your GPU that the engine is probably struggling to do fast enough.
Post Reply

Return to “Assets (and other stuff)”