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 v0.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)
@Iceninni
Copy link

@Steveplays28 I'll try to send new pictures and see if that works but I've also started to experience a bug where all shadows on the ground from the shader gets "burned" into the camera. (Not actually burned but it stays there until i exit the world) (Also that might be one of the incompatibilities you mentioned before idk)
distant bug 2
distant bug
bug
damn

@NatoBoram
Copy link

NatoBoram commented Mar 23, 2024

  • Complementary Fork doesn't work

With the Complementary fork, the tall grass and I guess all semi-transparent blocks let me see through them down to the skybox and even underground caves

2024-03-23_16 52 09

  • BSL doesn't work with Distant Horizons

@Steveplays28
Copy link
Author

@Iceninni Not sure why that is, haven't had that happen.

@Steveplays28
Copy link
Author

Hi @NatoBoram, the Complementary fork is known to work, so that's most likely an issue with your setup/modpack.
And the leaves/transparency issues is a known issue.

@Baffero
Copy link

Baffero commented Mar 25, 2024

Hi, @Steveplays28 is there a way to fix the ambient occlusion of the lods with shaders? (the shadow effect of distant blocks to make depth), i use complementary fork, the oculus forge fork of taqed for 1.19.2, and the distant horizons shadow fix. here i put screenshot comparison of the problem. Thanks :D

With Shaders v
with shaders

Without Shaders v
without shaders

@Steveplays28
Copy link
Author

Steveplays28 commented Mar 25, 2024

Hi @Baffero, not at the moment. Best you can do with release Iris is set DH LOD shading to Old Lighting.
Otherwise see the Iris Discord server for an in-dev version of Iris (v1.7.0) with DH support v2, and Emin's Patreon for an in-dev version of Complementary that's compatible with it, but be aware that no support will be provided for setting it up.

I will add that to the list once everything's released as stable.

@Enterprise12nx01
Copy link

How can i download the patch for oculus?

@Lucasbigbox
Copy link

Lucasbigbox commented Mar 25, 2024

Please help me why on the left his ugly
image
i use this :
image

@Baffero
Copy link

Baffero commented Mar 26, 2024

How can i download the patch for oculus?
@Enterprise12nx01
I don't know if i'm allowed to share the .jar here, i have the 1.19.2 file, but is easy to build it with git

@Baffero
Copy link

Baffero commented Mar 26, 2024

Please help me why on the left his ugly image i use this : image

@Lucasbigbox i think you have to disable the near fog from the mod and disable the vanilla fog too, explore the terrain to render the lods

@Jonhline
Copy link

this is optifine beeing optfine

2024-03-26_11 29 37

i am now on 1.18.2, after load the world instantly looks like this, on 1.16.5 the LODs after 5 minutes breaks like this, but before they are beautiful giving some hope :(

@Steveplays28
Copy link
Author

Steveplays28 commented Mar 26, 2024

@Enterprise12nx01 There used to be a download link but since it pointed to Discord it expired after the recent CDN changes.
@Baffero I'd much prefer listing build steps in the document, would appreciate if you could write that out for those who want them, and I'll link to it in the Gist.

@Steveplays28
Copy link
Author

@Jonhline Hi, for OptiFine issues please make a post on the support forum in the Distant Horizons Discord server.

@Steveplays28
Copy link
Author

@Lucasbigbox You need to use the fork of Complementary for blending. It also disables the border fog if DH Compat is enabled in the shaderpack's settings.

@LonelyWindchime
Copy link

LonelyWindchime commented Mar 26, 2024

Hello @Steveplays28 wondering if there is a fix for this almost artifacting issue that happens frequently with BSL. Clean install with no modifications other than turning on BSL. Only happens when fps is allowed higher than 60. Thanks!
render 1
render 2
render 3

@rino-1830
Copy link

Hi, @Steveplays28. When I use DrDestens Shader, the LOD chunks turn white as shown in the image. Is there a possible fix on the client side?
So far, I have tried useing Old Lighting and disabling Ambience Occlusion with no change.
Here are the mods I'm using:

Name Version
Minecraft 1.19.2
Forge 43.3.9
Oculus 1.6.9(Teqed's fork)
DH 2.0.2-a(nightly build)

2024-03-27_11 12 15
2024-03-27_11 12 24

@Steveplays28
Copy link
Author

@Lenatus hi, you could try turning down the brightness of the LODs in DH's config.
If that doesn't help you'd have to modify the shaderpack.

@SpacEagle17
Copy link

Hey o/
Could you put the info that this is for legacy support on the README so it is the first thing people see when they visit your fork? We have been getting bug reports on the Complementary discord regarding your fork even though Emin already made a DH-compatible version with the new iris 1.7 system.

@Steveplays28
Copy link
Author

Steveplays28 commented Mar 27, 2024

Hi @SpacEagle17, I added that info to the readme, description, and PR of the fork.
I also closed the PR.

Is that looking alright?
Also, do you want me to add a note to Complementary's section on this Gist as well?

@SpacEagle17
Copy link

SpacEagle17 commented Mar 27, 2024

Thank you very much for doing this! Also, this was much quicker than expected :)
It's looking alright, thanks for the work you put into this before a propper way of doing it existed!
Sure, why not also add it to the gist part. Very Appreciated <3
Once r5.2 releases I suppose you will again update the README :p

@Steveplays28
Copy link
Author

Thanks for the kind words, SpacEagle!
I've added it to the Gist for all the listed shaderpacks. Hope that'll clear up the confusion!

Yeah, once r5.2 releases I'll update it. I'll also revise the document layout to add a clear separation between legacy and v2 Iris + DH compat once Iris v1.7.0 is released as stable.

@Enterprise12nx01
Copy link

How can i download the patch for oculus?
@Enterprise12nx01
I don't know if i'm allowed to share the .jar here, i have the 1.19.2 file, but is easy to build it with git

would there be a way to send it? i have no idea how to build

@Angelin01
Copy link

Wonderful results. I'm still getting some artifacting with your edit Rethink Voxels, and the clouds seem to be rendering in front of everything. But I also have a few other performance mods, so it's highly likely something else is borking things:

Borked clouds

image

I've also ran into the transparency issues, but apparently that's par for the course. You can also see some of the artifacting here, in the skybox.

image

I didn't find anything about the clouds, so I'll post something here if I find anything.

Quick mod list, maybe it matches on a google search for anyone.
Clumps-forge-1.20.1-12.0.0.3
CullLessLeaves-Reforged-1.20.1-1.0.5
DistantHorizons-2.0.1-a-1.20.1
FastFurnace-1.20.1-8.0.2
FastWorkbench-1.20.1-8.0.4
Fastload-Reforged-mc1.20.1-3.4.0
ImmediatelyFast-Forge-1.2.11+1.20.4
Placebo-1.20.1-8.6.1
Terralith_1.20.4_v2.4.11
alternate_current-mc1.20-1.7.0
betterchunkloading-1.20.1-3.3
betterfpsdist-1.20.1-4.3
chunksending-1.20.1-2.8
clientcrafting-1.20.1-1.8
connectivity-1.20.1-5.5
cupboard-1.20.1-2.6
dynview-1.20.1-3.9
embeddium-0.3.11+mc1.20.1
fastasyncworldsave-1.20.1-2.0
fastpaintings-1.20-1.2.5
ferritecore-6.0.1-forge
gpumemleakfix-1.20.1-1.8
memoryleakfix-forge-1.17+-1.1.5
modelfix-1.15
modernfix-forge-5.15.0+mc1.20.1
moonlight-1.20-2.11.9-forge
oculus-mc1.20.1-1.6.15a
radium-mc1.20.1-0.12.2+git.5f80f74
recipeessentials-1.20.1-3.3
redirector-5.0.0

@Steveplays28
Copy link
Author

Hi @Angelin01, the clouds being broken is just a limitation of the legacy Iris + DH compatibility. Same with the transparency issues.

@Enterprise12nx01
Copy link

@Steveplays28 trying to build your 1.19.2 oculus build for DH, i cloned it using git, got java 16 and used terminal to ./gradlew build, it said build succesful. i think i found the jars in build/libs folder but they are only 1.16.5?

@Dinnerconsumer84
Copy link

Dinnerconsumer84 commented May 6, 2024

Im trying to build a modpack for me and my friends on forge with oculus, embeddium and distant horizons. It keeps crashing so i came here. In the compatibility requirement it says: "Distant Horizons v2.0.2a or higher" i can't find any version higher than 2.0.1a... Am i missing something?

@Steveplays28
Copy link
Author

@Enterprise12nx01 You need to switch the branch via Git (git checkout 1.19.2) before compiling.

@Steveplays28
Copy link
Author

Steveplays28 commented May 6, 2024

@Dinnerconsumer84 Hi, v2.0.2-a-dev or higher can be found on GitLab, in the jobs section (CI/CD pipeline), and this section is linked to in the Distant Horizons Discord server.
Currently the version has been bumped up to v2.1.0-rc1, and may be released soon if there are no more issues, see #announcements in the Distant Horizons Discord server.

@Enterprise12nx01
Copy link

Enterprise12nx01 commented May 6, 2024

@Enterprise12nx01 You need to switch the branch via Git (git checkout 1.19.2) before compiling.

new to this but managed to figure it out in the git console after cloning and using that command, thanks!

@Enterprise12nx01
Copy link

Enterprise12nx01 commented May 6, 2024

@Steveplays28 got it working, one thing i notice with plants/leaves is i can see through the ground and see caves
2024-05-06_19 07 12

Will there be any way to fix dynamic trees with distant horizons?

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