mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 19:35:47 -04:00
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:
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user