mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
b55d92124d
Filter mode 3 magnifies textures with an edge-directed rule after Hyllian's xBR (written from the published description, no code reused): for the texel corner nearest a sample, weighted YUV colour distances over a 5x5 neighbourhood decide whether an edge runs along the corner's diagonal; if so the corner is cut with an anti-aliased boundary and takes the closer side neighbour. Flat areas, straight edges, gradients, cutouts and 1:1 draws stay nearest. Selectable from [video] texture_filtering, settings.toml, PSX_TEXTURE_FILTER and the new texture_filter TCP command. Default unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>