All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Hyperopia

Hyperopia

by xsoras • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Partner

image

A perceptual experiment in inverted spatial focus.

v1

Hyperopia is an experimental Minecraft shader that explores depth perception by reversing the relationship between distance and focus. Instead of enhancing realism, the shader intentionally disrupts familiar visual cues by making distant geometry appear visually prioritized while nearby objects gradually lose sharpness.

v2

The effect is achieved through a depth-dependent post-processing pass that inverts the scene's depth response. Objects that would normally attract attention due to proximity become increasingly blurred, while distant structures remain clear and visually stable. A slowly oscillating depth threshold continuously shifts the focus boundary, creating subtle changes in spatial interpretation over time.

v3

Rather than functioning as a traditional aesthetic shader, Hyperopia can be viewed as a small visual perception study implemented within Minecraft's rendering pipeline.


✨ Highlights

Depth-Inverted Focus Model.

The shader reconstructs linear depth from Minecraft's depth buffer and reverses its interpretation. Nearby objects are treated as though they occupy distant visual space, while distant objects are treated as focal subjects.

This inversion alters the player's intuitive understanding of scale, distance and spatial priority, producing a persistent conflict between visual focus and physical location.


Depth-Dependent Circular Blur.

Blur intensity is derived directly from the inverted depth value.

A circular multi-sample blur kernel is applied to objects that fall outside the current focus region. The implementation uses two concentric sampling rings, creating a smooth radial blur rather than directional smearing.

As objects approach the camera, blur intensity increases quadratically, causing nearby geometry to become significantly softer than the surrounding environment.


Dynamic Focus Boundary Oscillation.

The transition between focused and defocused regions is not fixed.

A sinusoidally animated threshold slowly shifts the depth separation point over time, causing the apparent focal plane to drift forward and backward through the scene.

This creates a subtle "breathing" effect in which the world's visual organization continuously reconfigures itself without abrupt transitions.


Selective Distance Sharpening.

Objects considered "in focus" after depth inversion receive a lightweight sharpening pass.

The shader compares neighboring pixels and applies a controlled contrast enhancement to preserve clarity in distant structures. This reinforces the inversion effect by further emphasizing regions that would normally be considered visually secondary.


Depth-Correlated Color Shift.

A small depth-driven color adjustment accompanies the focus inversion.

Cool blue tones are subtly introduced according to the inverted depth field, associating traditionally distant color cues with visually foregrounded regions.

The adjustment is intentionally restrained and serves primarily to strengthen the perceptual inconsistency created by the focus system.


Minimal Post-Processing Pipeline.

The shader avoids common visual enhancement techniques such as:

  • Bloom
  • Volumetric lighting
  • Screen-space reflections
  • Ambient occlusion
  • Color grading filters
  • Vignette effects

The rendering pipeline remains focused exclusively on manipulating depth interpretation and visual attention.


⚙️ Compatibility

Designed as a lightweight post-processing shader using:

  • GLSL 1.20
  • Minecraft depth buffer access
  • Composite rendering pass
  • Standard gbuffers rendering

The project consists primarily of a single composite post-process stage and should have minimal GPU requirements compared to modern physically-based shader packs.

No custom lighting, shadow mapping, volumetrics or advanced rendering features are present.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3.x 26.2.x 26.1.x +397
Iris OF OptiFine
1d ago 1
26.2 26.1.x 1.21.x +14
Iris OF OptiFine
1d ago 1
[1.1] Hyperopia 1.1 by xsoras on Oct 13, 2026
Download
Hyperopia 1.1
A small maintenance and compatibility update focused on stability while preserving the original Hyperopia effect.

Added Minecraft Java Edition 26.2 compatibility improvements.
Added proper gbuffers_basic, gbuffers_textured, and gbuffers_textured_lit fallback passes.
Added an explicit final rendering pass for improved Iris compatibility.
Fixed blur sampling outside the rendered image near screen edges.
[1.0] Hyperopia 1.0 by xsoras on Oct 13, 2026
Download
### Version Log — v1.0

Initial Release

  • Added depth-based focus inversion using reconstructed linear depth.
  • Added circular multi-ring blur system driven by inverted depth values.
  • Added oscillating focal threshold for continuously shifting focus regions.
  • Added selective sharpening for distant in-focus geometry.
  • Added subtle depth-correlated cool color shift.
  • Added lightweight post-processing pipeline without additional visual effects.

Hyperopia Icon
Download Hyperopia
Select game version
Select platform