found this equation in main reshade.fx file in vertex:
OUT.txcoord.x = (IN.id == 2) ? 2.0 : 0.0;
OUT.txcoord.y = (IN.id == 1) ? 2.0 : 0.0;
OUT.vpos = float4(OUT.txcoord * float2(2.0, -2.0) + float2(-1.0, 1.0), 0.0, 1.0);
can you, guys, explain me what we are doing here? why we check vertex ID in postprocess? i assume its always same quad - the output screen...
each line commend will be apreciated!