Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Steveplays28/52db568f297ded527da56dbe6deeec0e to your computer and use it in GitHub Desktop.
Save Steveplays28/52db568f297ded527da56dbe6deeec0e to your computer and use it in GitHub Desktop.
Distant Horizons shader compatibility info

Distant Horizons shader compatibility information

Distant Horizons v2.0.0 (and up) shader compatibility information.

v2

Install guide

Fabric

(Neo)Forge

  • Install Sodium
    • A recently updated fork or Sodium v1.6.0 or higher
  • Install Iris Shaders
    • Oculus v1.7.0 or higher or Iris Shaders v1.8.0 or higher
  • Install Distant Horizons
    • v2.1.0 or higher
  • Download a compatible shaderpack, see the shaderpacks section below.

Shaderpacks

Known issues

  • Sky rendering breaks
    • Go to Distant Horizons settings
    • Change Advanced->Advanced Graphics Settings->Transparency to "Complete"
    • Change Advanced->Advanced Graphics Settings->Render Quality to "Medium"
    • Restart Minecraft

v1/Legacy

Open dropdown for v1/legacy shader compatibility information

THIS IS FOR LEGACY SHADER COMPAT. THIS IS NOT FOR IRIS + DH SHADER COMPAT v2.
For Iris + DH shader compat v2, see the section under the heading v2 above.

Known issues

  • LODs don't have proper shading applied to them when using shaders, so at night the LODs may look too bright and not match MC's terrain
  • LODs don't have (correct) lighting
    • Can be improved by switching DH Settings->Advanced->Graphics Settings->General->LOD Shading to Old Lighting/Forced

Compatible shader mods

Fabric/Quilt

Forge/NeoForge

  • OptiFine
  • Oculus by Asek3
    • For 1.19.2, there's a branch on Teqed's fork
    • For 1.16.5, there's a branch on P1xelBuilder's fork

Compatible shaderpacks

  • Complementary fork by EminGT, edited by me (Steveplays28)
    • v1/Legacy Iris + DH shader compat
    • Iris + DH shader compat v2 is in the works by Emin, in-development builds available on Patreon (emingt), see the first section of this document
    • Has DH blending
    • Has DH compatibility config
  • Rethinking Voxels fork by EminGT, edited by me (Steveplays28)
    • Legacy Iris + DH shader compat
    • Has DH blending (out of the box, settings aren't ported from Complementary yet)
  • Potato Shaders by RRe36
    • v1/Legacy Iris + DH shader compat
  • Reflective Vanilla Shaders by Rin
    • v1/Legacy Iris + DH shader compat
  • VanillAA by leo60228
    • v1/Legacy Iris + DH shader compat
  • BSL by capttatsu
    • v1/Legacy Iris + DH shader compat requires a version below v8.2.0
    • The more recent versions (v8.2.0 and up) are for Iris + DH shader compat v2, see the first section of this document
  • Shrimple by Null
    • v1/Legacy Iris + DH shader compat requires this specific version
    • The more recent versions (after commit 79d7d1f3) are for Iris + DH shader compat v2, see the first section of this document

Incompatible shaderpacks

  • Nostalgia Shader by RRe36
    • LODs don't render (neither on OptiFine nor Iris)
    • Default TAAU percentage (75%) has issues, make sure to set TAAU to 100%
  • Sildur's Vibrant Shaders by Sildur
    • LODs don't render (neither on OptiFine nor Iris)
@Steveplays28
Copy link
Author

@QkulxVW thank you, I've added Rethinking Voxels to the list!

@Steveplays28
Copy link
Author

@borismandrovnyj Hi, you're using Starlight with Distant Horizons. You have to enable Use DH Lighting Engine in the options and regenerate your LODs.

@borismandrovnyj
Copy link

borismandrovnyj commented Jul 26, 2024

@borismandrovnyj Hi, you're using Starlight with Distant Horizons. You have to enable Use DH Lighting Engine in the options and regenerate your LODs.

Could you please navigate me where this setting is?
Nvm i found it

@borismandrovnyj
Copy link

I'm sorry to disturb again but how do I reload the LODs?

@imheavi
Copy link

imheavi commented Jul 26, 2024

I'm sorry to disturb again but how do I reload the LODs?

It will do it automatically.

@borismandrovnyj
Copy link

I'm sorry to disturb again but how do I reload the LODs?

It will do it automatically.

Thank you

@borismandrovnyj
Copy link

borismandrovnyj commented Jul 26, 2024

Unfortunetly the issue still persists with BLISS shaderpack
image
And with Photon aswell
image

@Steveplays28
Copy link
Author

Steveplays28 commented Jul 26, 2024

@borismandrovnyj You'll have to delete the LOD database file and let DH regenerate LODs. The LOD database file for the overworld is located at .minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite.

@imheavi
Copy link

imheavi commented Jul 26, 2024

@Steveplays28 oh really? i thought it just rebuilt them without deleting the database, my fault.

@borismandrovnyj
Copy link

I think it didnt solve the problem, even after deleting the file
image

@QkulxVW
Copy link

QkulxVW commented Jul 26, 2024

@QkulxVW thank you, I've added Rethinking Voxels to the list!

U are welcome :)

@Steveplays28
Copy link
Author

Steveplays28 commented Jul 26, 2024

@borismandrovnyj Could you join the Distant Horizons Discord server and create a post in the #help-me channel?

@borismandrovnyj
Copy link

borismandrovnyj commented Jul 26, 2024

@borismandrovnyj Could you join the Distant Horizons Discord server and create a post in the #help-me channel?

yea sure, but I don't have permission to add new post to the #help-me channel | nvm I just can't read....

@kevinixz
Copy link

Hello everyone, I spent a couple of days porting Distant Horizons support to Oculus for version 1.16.5 (Oculus 1.4.7) and I also found out and fixed the reason for visual artifacts on the horizon when using Oculus (mentioned by osoper 2 weeks ago), but they did not appear on Iris. The problem was in Distant Horizons, a patch was applied due to which, when rendering shaders in Iris, DH did not draw LODs when Iris rendering shadows, since Iris runs on Fabric, this patch did not work for Forge, and accordingly, artifacts appeared in Oculus.

As a result of the work, I supplemented the Oculus and DH sources with edits and reassembled them into mods. Below I have attached repositories where you can get the sources of both mods and their builds:

https://github.com/PlxelBuilder/Distant-Horizons-2.0.1a-Oculus-shadow-fix https://github.com/PlxelBuilder/Oculus-1.16.5-DH-Support

At the moment there is no support in Oculus for version 1.18.2 and 1.19.4, since I was focused on 1.16.5 however adding it is not difficult, as far as I know the procedure is identical to 1.19.2. Distant Horizons has received Oculus fixes for all versions.

Also a couple of screenshots from 1.16.5: 2024-02-22_15 02 23 2024-02-22_15 01 54

You have helped me a lot, none of the versions of Oculus fixed the problem that I was able to do with your file, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment