[SOLVED] Texture Corruption In openGL game Ion Fury

More
1 year 2 months ago #1 by BlueSkyKnight
Texture Corruption In openGL game Ion Fury was created by BlueSkyKnight
Ion Fury the newly released game suffers from texture corruption with Reshade.

www.ionfury.com/


switching to software mode then back to opengl helps alittle.

But, some texture are off.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago - 1 year 2 months ago #2 by crosire
Replied by crosire on topic Texture Corruption In openGL game Ion Fury
Sounds like the usual OpenGL texture name issue. Games that do not reserve texture names like they are supposed to do run into this because they clash with the textures ReShade creates. Can be mitigated by adding this to the ReShade config (where XXX is some game dependent number, try a couple hundred and see where it gets you):
[OPENGL]
ReserveTextureNames=XXX
Last edit: 1 year 2 months ago by crosire.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #3 by brazzjazz
Replied by brazzjazz on topic Texture Corruption In openGL game Ion Fury

crosire wrote: Sounds like the usual OpenGL texture name issue. Games that do not reserve texture names like they are supposed to do run into this because they clash with the textures ReShade creates. Can be mitigated by adding this to the ReShade config (where XXX is some game dependent number, try a couple hundred and see where it gets you):

[OPENGL]
ReserveTextureNames=XXX


Couldn't you just make ReShade use some very unlikely high texture numbers? Like a smart lottery player...

Please Log in or Create an account to join the conversation.

More
1 year 2 days ago - 1 year 2 days ago #4 by Hendricks266
Replied by Hendricks266 on topic Texture Corruption In openGL game Ion Fury
I audited Ion Fury's GL texture code and confirmed that we always reserve texture names with glGenTextures before using them with glBindTexture, and we don't prematurely free them with glDeleteTextures. Something else must be the cause.
Last edit: 1 year 2 days ago by Hendricks266.

Please Log in or Create an account to join the conversation.

More
1 year 1 day ago #5 by crosire
Replied by crosire on topic Texture Corruption In openGL game Ion Fury
Thank you for checking. In that case I'm not sure from pictures alone. Upload/download stride can't be it anymore, so probably just some render state going haywire.

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #6 by brazzjazz
Replied by brazzjazz on topic Texture Corruption In openGL game Ion Fury

BlueSkyKnight wrote:


Fixed since 4.5.0! Yay! :-)

From the patch notes: Fixed OpenGL states not being restored during texture upload, which caused texture artifacts in some games
The following user(s) said Thank You: tOXicSilence

Please Log in or Create an account to join the conversation.