Dolphin, the GameCube and Wii emulator - Forums
Mirror mode? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: General Discussion (https://forums.dolphin-emu.org/Forum-general-discussion)
+--- Thread: Mirror mode? (/Thread-mirror-mode--59907)



Mirror mode? - Brinch - 08-23-2020

So I thought it'd be quite interesting to mirror Dolphin's output and reverse my controls to play a game in a sort of "mirror mode", but I haven't found any way to do this.
I've tried changing rendering settings found within the game's memory, but there's nothing that allows mirroring of the screen.
I've also tried looking for external software, but the only one I've found was UltraMon, and it doesn't work with my display.
So I guess my last resort is asking here. Maybe someone could make a post-processing filter for Dolphin that mirrors the output? I don't have the coding knowledge to do so myself.

UPDATE:
I have found a way to do this! I simply used Reshade, which is a program for applying post-processing effects to games.
I simply opened notepad and pasted this code into it (which I found elsewhere on the internet):
Code:
#include "ReShade.fxh"

float4 FlipPass(float4 vpos : SV_Position, float2 texcoord : TexCoord) : SV_Target
{
texcoord.x = 1-texcoord.x;//horizontal flip
//texcoord.y = 1-texcoord.y;//vertical flip
float4 color = tex2D(ReShade::BackBuffer, texcoord);
return color;
}

technique Flip
{
pass
{
VertexShader = PostProcessVS;
PixelShader = FlipPass;
}
}
Then I saved it as a .fx file inside the Reshade shaders folder, and then I could use it to mirror the output of my game! Hope someone out there finds this useful.


RE: Mirror mode? - dreday78 - 09-04-2020

Nice, this will be fun.