Longview

Quick rating

Longview

No reviews yet

Fixes flickering, jaggies and Z-fighting on long distances using the Reverse Z technique.

Bug Fixes
Mod Loaders
NeoForge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
Mozilla Public License 2.0
Latest Version
Longview 1.3.2
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Longview

A comparison between having Longview installed and not having it installed. The cold pig is visibly jagged on the "Longview Off" shot and Z-fighting is visible on the waterlogged leaves. The "Longview On" shot shows the exact same scene but without the jaggies and with waterlogged leaves working as intended.

Longview is a mod for Minecraft 26.1 that fixes glitches such as Z-fighting and jaggies on far distances.

This is accomplished through two techniques:

  1. By changing the Z coordinate limits from [-1,1] to [0,1] using the GL_ARB_CLIP_CONTROL extension (officially part of OpenGL 4.5)

  2. By applying the reversed Z technique, where the far plane and the near plane are swapped in the renderer.

This ensures that the depth buffer will be evenly distributed no matter the distance, fixing all sorts of glitches that happens from a distance!

Compatibility

This mod is no longer needed in Minecraft 26.2+ since the game has implemented the same fixes that Longview implements! This mod will continue to work in Minecraft 26.1.

This mod requires a device supporting either the GL_ARB_CLIP_CONTROL extension or OpenGL 4.5 in order to apply Technique 1.

On devices that don't support either, like ones running macOS, Technique 2 will still be applied, although since the Z coordinate limits will remain as [-1,1], flipping them will do nothing at all considering said limit is effectively symmetric.

As of Longview 1.3.0, this mod is compatible with Iris Shaders when using shader packs that support it. If the shader pack doesn't support Longview, then this mod will disable itself temporarily, as shown in the F3 debug information.

This mod is fully compatible with custom graphics backends and will implement Technique 2 by default, although said custom backends are required to implement Technique 1 themselves.

Acknowledgements

  • This Godot Engine blog post for introducing me to the reverse Z technique.
  • Depth Precision Visualized: an excellent article covering the topic of depth precision as well as the reverse Z technique.
  • The many people who have independently discovered and popularized this technique, including these darn Quake developers.
  • qendolin for putting together the farz-poc proof-of-concept and for starting discussions involving Mojang developers.
  • IMS for he's a jolly good fellow, which nobody can deny.

Longview

A comparison between having Longview installed and not having it installed. The cold pig is visibly jagged on the "Longview Off" shot and Z-fighting is visible on the waterlogged leaves. The "Longview On" shot shows the exact same scene but without the jaggies and with waterlogged leaves working as intended.

Longview is a mod for Minecraft 26.1 that fixes glitches such as Z-fighting and jaggies on far distances.

This is accomplished through two techniques:

  1. By changing the Z coordinate limits from [-1,1] to [0,1] using the GL_ARB_CLIP_CONTROL extension (officially part of OpenGL 4.5)
  2. By applying the reversed Z technique, where the far plane and the near plane are swapped in the renderer.

This ensures that the depth buffer will be evenly distributed no matter the distance, fixing all sorts of glitches that happens from a distance!

Compatibility

This mod is no longer needed in Minecraft 26.2+ since the game has implemented the same fixes that Longview implements! This mod will continue to work in Minecraft 26.1.

This mod requires a device supporting either the GL_ARB_CLIP_CONTROL extension or OpenGL 4.5 in order to apply Technique 1.

On devices that don't support either, like ones running macOS, Technique 2 will still be applied, although since the Z coordinate limits will remain as [-1,1], flipping them will do nothing at all considering said limit is effectively symmetric.

As of Longview 1.3.0, this mod is compatible with Iris Shaders when using shader packs that support it. If the shader pack doesn't support Longview, then this mod will disable itself temporarily, as shown in the F3 debug information.

This mod is fully compatible with custom graphics backends and will implement Technique 2 by default, although said custom backends are required to implement Technique 1 themselves.

Acknowledgements

  • This Godot Engine blog post for introducing me to the reverse Z technique.
  • Depth Precision Visualized: an excellent article covering the topic of depth precision as well as the reverse Z technique.
  • The many people who have independently discovered and popularized this technique, including goddamn Quake developers.
  • qendolin for putting together the farz-poc proof-of-concept and for starting discussions involving Mojang developers.
  • IMS for he's a jolly good fellow, which nobody can deny.

Screenshots

Gallery

  • Longview Comparison 2 (On)
    Longview Comparison 2 (On) A complex scene with Longview featuring a shallow island with rabbits and a pillar made of waterlogged leaves. The pillar shows no Z-fighting at all.
  • Longview Comparison 2 (Off)
    Longview Comparison 2 (Off) A complex scene without Longview featuring a shallow island with rabbits and a pillar made of waterlogged leaves. The pillar shows intense Z-fighting.
  • Longview Comparison (Off)
    Longview Comparison (Off) A scene without Longview featuring a cold pig in the middle of a frozen peak with two waterlogged leaves. The cold pig is visibly jagged and Z-fighting is visible on the waterlogged leaves.
  • Longview Comparison (On)
    Longview Comparison (On) A scene with Longview featuring a cold pig in the middle of a frozen peak with two waterlogged leaves. The cold pig has no jaggies and there's no visible Z-fighting whatsoever.
  • Longview Banner
    Longview Banner A comparison between enabled and disabled Longview.
  • Longview Comparison (On)
    Longview Comparison (On) A scene with Longview featuring a cold pig in the middle of a frozen peak with two waterlogged leaves. The cold pig has no jaggies and there's no visible Z-fighting whatsoever.
  • Longview Comparison (Off)
    Longview Comparison (Off) A scene without Longview featuring a cold pig in the middle of a frozen peak with two waterlogged leaves. The cold pig is visibly jagged and Z-fighting is visible on the waterlogged leaves.
  • Longview Comparison 2 (Off)
    Longview Comparison 2 (Off) A complex scene without Longview featuring a shallow island with rabbits and a pillar made of waterlogged leaves. The pillar shows intense Z-fighting.
  • Longview Comparison 2 (On)
    Longview Comparison 2 (On) A complex scene with Longview featuring a shallow island with rabbits and a pillar made of waterlogged leaves. The pillar shows no Z-fighting at all.
  • Longview + Voxy Comparison (Off)
    Longview + Voxy Comparison (Off) A scene located in the middle point between Vanilla and Voxy terrain. The animals are visibly glitched.
  • Longview + Voxy Comparison (On)
    Longview + Voxy Comparison (On) A scene located in the middle point between Vanilla and Voxy terrain. The animals are no longer glitched.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~270,000
Total Downloads
CurseForge
~12,000
Modrinth
~260,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works