Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] CEMU Emulator (Screen Flipped Vertically)

CEMU Emulator (Screen Flipped Vertically) 7 months 3 weeks ago #1

CEMU is a Wii U emulator. It uses OpenGL32 x64 dll. However, when you start the application without any effects you can tell ReShade is upside down. When you turn on any effect, the actual game you are playing flips upside down. I know it's not the fault of ReShade but I was curious if there was any way to fix that? Thank you.
Last Edit: 7 months 3 weeks ago by 8 Oversoul.
The administrator has disabled public write access.

CEMU Emulator (Screen Flipped Vertically) 7 months 3 weeks ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2451
  • Thank you received: 1390
You can add this to the bottom of the ReShade.fx file for a quick'n'dirty fix:
float4 PS_FlipBackBuffer(float4 vpos : SV_Position, float2 texcoord : TEXCOORD) : SV_Target
{
    return tex2D(BackBuffer, float2(texcoord.x, 1.0 - texcoord.y));
}
technique FlipBackBuffer < enabled = true; >
{
	pass ColorBackup
	{
		VertexShader = ReShade::VS_PostProcess;
		PixelShader = PS_FlipBackBuffer;
	}
}
Cheers, crosire =)
The administrator has disabled public write access.

CEMU Emulator (Screen Flipped Vertically) 7 months 3 weeks ago #3

Thank you!

EDIT: I couldn't get that to work for some reason. I tried on latest ReShade version and legacy. Anyhow, I left a bug report thread for the CEMU devs to tell them the issue, hopefully they fix it in an update one day. It's pretty odd cause even without ReShade if you take a "Steam screenshot" while playing the image is flipped vertically, even though the game isn't. ReShade just flips the game in real-time. I'm sure other things like ENB would do it as well.
Last Edit: 7 months 3 weeks ago by 8 Oversoul.
The administrator has disabled public write access.

CEMU Emulator (Screen Flipped Vertically) 6 months 5 days ago #4

Here is what the developer of CEMU said, I don't know if that's the right way of going about it. Steam screenshots are upside down also, but the overlay isn't...

This is not a bug in CEMU. We use a very recently added OpenGL feature called 'ARB_clip_control' which will result in upside-down images if this feature is not taken into account by third-party tools. Report the bug to the developer of the overlay.
The administrator has disabled public write access.