PixelScale 1.2.0 (MC 26.3 NeoForge)
Curse Maven Snippet
What's new
PixelScale v1.2.0 — Real Projection Jitter + Mip Bias, Hand Mask, Bidirectional Flow, Async GPU Timer, Live Split-Screen & Spatial GUI Compat
Upscaler Visual Clarity Leap
- Real Projection Matrix Sub-Pixel Jitter (
Halton(2,3), 8-phase):- Injects sub-pixel NDC jitter directly into Minecraft's camera projection matrix during 3D world rendering (automatically paused when Iris/Oculus shaders are active to prevent double-jitter, and excluded from frustum culling queries).
- Performs exact sub-pixel unjittering inside the
fsr_easu.frag12-tap Lanczos2 spatial kernel,xess_temporal.fragCatmull-Rom sampler, andflow_est.fragSAD patches for true super-resolution detail accumulation at50%–77%render scale.
- Negative Mip LOD Bias (
GL_TEXTURE_LOD_BIAS):- Applies scale-proportional negative mipmap LOD bias (
log2(scale) - 0.35, clamped) to the Minecraft block texture atlas (GL_TEXTURE_2D) and OpenGL 3.3+ sampler objects (GlSampleron MC1.21.11–26.3), preserving crisp distant block, leaf, and fence textures at reduced internal resolutions.
- Applies scale-proportional negative mipmap LOD bias (
Frame Generation Quality, Mod Compatibility & Smart GPU Saver
- Pixel-Accurate First-Person Hand Mask (
hand_mask.frag):- Compares pre-hand world depth against post-hand depth (
1.20.1–26.3, including26.3render3dHudtargets) to isolate swinging swords, pickaxes, food, and held items at pixel precision. - Eliminates first-person weapon/hand jelly warping during
2x/3x/4xFrame Generation and prevents ghost trails on disoccluded world background behind swinging items.
- Compares pre-hand world depth against post-hand depth (
- Bidirectional Optical Flow & Disocclusion Repair:
- Added quarter-resolution backward optical flow (
Prev -> Curr) with forward–backward consistency confidence weighting inflow_smooth.fragand single-warp disocclusion repair inflow_interpolate.frag, sharply reducing tearing and halos around fast camera turns, mobs, and Create contraptions.
- Added quarter-resolution backward optical flow (
- Spatial GUI Compatibility (
SpatialGuiCompatBridge):- Detects active Spatial GUI 3D world-space container/inventory screens and close animations (
SpatialGUIAPI.isScreenInWorld()) across1.20.1–26.3(Fabric / NeoForge / Forge), automatically yielding to nativePASSTHROUGHrendering while open/closing so 3D screens, deferred unblurred player models, and world-blur/tint effects never flicker, then immediately resuming2x/3x/4xFrame Generation and TSR/FSR once closed.
- Detects active Spatial GUI 3D world-space container/inventory screens and close animations (
- Smart Menu / Inventory / Static-Camera GPU Saver:
- Automatically skips the optical-flow pyramid while modal GUI/container screens are open and skips the fine half-resolution optical-flow pass when the 3D camera is completely stationary.
True Async GPU Timer & Smart Dynamic Resolution
- Non-Blocking
GL_TIMESTAMP/GL_TIME_ELAPSEDRing Buffer:- Measures pure GPU render time via a 4-slot asynchronous OpenGL query ring buffer (zero pipeline stalls), separating GPU bottlenecks (4K / heavy shaders) from CPU bottlenecks (entities / chunk updates) so Dynamic (50%–95%) never drops resolution needlessly in CPU-bound scenes.
UX, Telemetry & Diagnostics
- Live Split-Screen Comparison (
F9+ Draggable10%–90%Slider):- Compares Native OFF (
1xFPS, unscaled/unsharpened) on the left against PixelScale ON (FG + TSR/FSR + RCAS) on the right in real time with HUD divider badges.
- Compares Native OFF (
- One-Click Recommended Hardware Profile:
- Detects GPU tier (
iGPU/Mid-Range/High-End), display resolution (1080p/1440p/4K), and active Iris shaderpack state to apply optimal settings in a single click at the top of the PixelScale settings screen.
- Detects GPU tier (
- Mini Frame-Time Sparkline Graph HUD & GL Chat Fallback Notice:
- Optional 64-sample color-coded frame-time (
ms) sparkline graph with a 60 FPS (16.7ms) reference line beneath the corner HUD, plus in-game chat notification if an OpenGL pipeline fallback ever triggers.
- Optional 64-sample color-coded frame-time (
- CI & Modpack QA:
- Added GitHub Actions 29-target matrix build + JUnit & Mixin bytecode audit workflow (
.github/workflows/build.yml) andMODPACK_COMPATIBILITY_CHECKLIST.md.
- Added GitHub Actions 29-target matrix build + JUnit & Mixin bytecode audit workflow (
This mod has no additional files