Add geom-overlay and fix other shaders. (#3245)

- Add geom-overlay.fx shader + psx.jpg texture;
- Add crt-consumer.fx and delete crt-consumer.glsl;
- Fix corner parameters from crt-geom.fx and geom.fx;
- Fix coords from super-xbr. Now it works with more aspect ratio options.
This commit is contained in:
Hyllian
2024-07-08 04:22:09 -03:00
committed by GitHub
parent 985b9f8a38
commit 22b273800e
8 changed files with 1283 additions and 839 deletions

View File

@ -184,7 +184,9 @@ float3 super_xbr(float wp[6], float4 P0, float4 B, float4 C, float4 P1, float4
float4 PS_BackBufferY(float4 pos: SV_Position, float2 vTexCoord : TEXCOORD) : SV_Target
{
float3 color = tex2D(ReShade::BackBuffer, vTexCoord.xy).rgb;
float2 tc = (floor(vTexCoord / NormalizedNativePixelSize)+float2(0.5,0.5)) * NormalizedNativePixelSize;
float3 color = tex2D(ReShade::BackBuffer, tc).rgb;
return float4(color, luma(color));
}