mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-23 04:02:49 -05:00
Problem: the viewer blurred hard edges even at Full resolution and 100 % (reported on Discord). The frame rect was centred without snapping to physical pixels, so bilinear sampling blended neighbouring pixels at 1:1 (worst at 125 %/150 % display scaling); More Accurate also magnified bilinearly, so 200 %+ and lower resolutions were smoothed; and Zoom In / Zoom Out stepped in points, so at 125 % scaling they never reached 100 %. Fix: snap the frame origin (and the ViewerMap overlays use) to the physical pixel grid; magnify with nearest in both Zoom Quality modes (CPU texture options and the GPU frame sampler), keeping the averaged minification below 100 % (#417); the snapshot texture follows the same options; Zoom In / Out step through screen-pixel magnifications. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>