[SOLVED] Texture Corruption In openGL game Ion Fury

  • BlueSkyKnight
  • Topic Author
More
4 years 6 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.

  • crosire
More
4 years 6 months ago - 4 years 6 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: 4 years 6 months ago by crosire.

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

  • brazzjazz
More
4 years 6 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.

  • Hendricks266
More
4 years 3 months ago - 4 years 3 months 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: 4 years 3 months ago by Hendricks266.

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

  • crosire
More
4 years 3 months 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.

  • brazzjazz
More
4 years 2 months 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.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.