https://bugs.winehq.org/show_bug.cgi?id=43980
Bug ID: 43980 Summary: Missing geometry in .hack//G.U Last Recode Product: Wine Version: 2.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs@winehq.org Reporter: mailRoxas@gmail.com Distribution: ---
Created attachment 59636 --> https://bugs.winehq.org/attachment.cgi?id=59636 Fragment shader with problematic discard line commented out.
Various models are not rendered correctly in .hack//G.U Last Recode. The problematic shaders seems to have generated if branch with discard that seems to cause this.
Attached is example of wine generated GLSL shader with problematic line commented.
The game looks like this by default: https://my.mixtape.moe/zcrgqq.png
And with hack applied that removes discards: https://my.mixtape.moe/fqffup.png
I wrote this small tool to apply dump and replace opengl resources in game and apply runtime hacks, as none of the opengl debuggers seemed to work with the game: https://github.com/Cloudef/glinject