Shaders: Fix upscaling moire in CRT-Lottes

This commit is contained in:
Stenzek 2024-06-11 23:31:07 +10:00
parent facce0d8cb
commit e6a11abedc
No known key found for this signature in database

View file

@ -173,7 +173,7 @@ float3 Fetch(float2 pos,float2 off){
// Distance in emulated pixels to nearest texel.
float2 Dist(float2 pos)
{
pos = pos*GetOriginalSize().xy;
pos = pos * (GetNativeSize() * GetWindowToViewportRatio());
return -((pos - floor(pos)) - float2(0.5, 0.5));
}