RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.46k stars 1.92k forks source link

GL/Vulkan: Grand Theft Auto V graphical issues #3959

Open MarioSonic2987 opened 6 years ago

MarioSonic2987 commented 6 years ago

Graphical issues:

Footage (June 25, 2019)

Log OpenGL Shaderlog OpenGL RenderDoc OpenGL (Loading screen and ingame)

Original comment With https://github.com/RPCS3/rpcs3/commit/a08e79f4267b5e9fab82949a5f011eb40aca76b0, GTA V renders its UI like this (look at the Rockstar's logo): ![image](https://user-images.githubusercontent.com/20027681/34226708-d1516c0e-e5ca-11e7-8f34-9cdd7b6dd24e.png) But with RenderDoc, I was able to modify the shaders. I went to the vertex one to investigate what was causing that bug. And I found these two lines of code: ![rd1](https://user-images.githubusercontent.com/20027681/34226797-23e35b4e-e5cb-11e7-8444-8b7f7ced9913.png) By changing bits 216 and 217, it fixed Rockstar's logo's orientation somehow, but the rest of UI is moved and rotated. ![rd2](https://user-images.githubusercontent.com/20027681/34226802-29bafb62-e5cb-11e7-8659-1e7e55bb0c12.png) In conclussion, this bug is caused, likely, by a vertex shader instruction badly implemented. [Log OpenGL](https://github.com/RPCS3/rpcs3/files/1576916/Log.GTA.V.20-12-17.GL.gz) [Shaderlog OpenGL](https://drive.google.com/open?id=1oLvU0iv8DFNTtUcKdsK7wrvoxOaOMt7T) - It's important the latest generated vertex shader. [RenderDoc OpenGL](https://drive.google.com/open?id=15jQKO-h5_8cyt_mcT5ym5D4L_mJWwUcm)
Lethality5001 commented 1 year ago

Will water be fixed soon? Or car flickering when damaged enough