[SOLVED] Texture Corruption In openGL game Ion Fury

  • Posts: 810
7 months 2 weeks ago #1 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.

  • Posts: 3665
7 months 2 weeks ago - 7 months 2 weeks ago #2 by crosire
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

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

  • Posts: 144
7 months 1 week ago #3 by brazzjazz

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.

  • Posts: 1
5 months 4 days ago - 5 months 4 days ago #4 by Hendricks266
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.

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

  • Posts: 3665
5 months 4 days ago #5 by crosire
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.

  • Posts: 144
3 months 2 weeks ago #6 by brazzjazz

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

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