Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 35 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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

Prerequisites

  • Iris v1.7.0 or higher, or Oculus v1.6.15aDH or higher
  • Distant Horizons v2.0.2a or higher
  • A compatible shaderpack, see the shaderpacks section below

Install guide

Visit the Iris Discord server for an install guide, see the #dh-compatibility-faq channel.

Keep in mind that no support will be provided for the install process of Iris + DH shader compatibility v2.
You're expected to know how to install this.

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)
@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

@Lenatus
Copy link

Lenatus commented Mar 27, 2024

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?

@Dinotanker
Copy link

Hi guys. Please tell me, is it possible to install DH on Minecraft 1.20.1 forge so that it will work with shaders? Thanks in advance for your answer

@Steveplays28
Copy link
Author

@Enterprise12nx01 There's no way to fix Dynamic Trees compat without adding compat code to DH currently.

@Steveplays28
Copy link
Author

@Dinotanker Hi, yes. There are versions of Oculus that have DH support merged in from upstream (Iris).

@Enterprise12nx01
Copy link

@Enterprise12nx01 There's no way to fix Dynamic Trees compat without adding compat code to DH currently.

Ok got it! What about the shader problem with plants with the screenshot? Im using the complementary shaders fix with the oculus fix I built

@MarvNC
Copy link

MarvNC commented May 8, 2024

Thanks for making this, wouldn't have known to check Iris for the install guide.

@Steveplays28
Copy link
Author

Steveplays28 commented May 8, 2024

@Enterprise12nx01 You should use one of the supported DH + Iris compat v2 shaders with the new version of Oculus to fix that, if the commit for v2 shader compat is available on 1.19.2.
That's an issue with the legacy/v1 version of DH + Iris shader compat.

@Steveplays28
Copy link
Author

@MarvNC No problem, have fun playing!

@imheavi
Copy link

imheavi commented May 8, 2024

Hey everyone! I`m the developer of Distantly Optimized on Modrinth. Would any of you care to try the modpack and give me suggestions to improve it?

Distantly Optimized: https://modrinth.com/modpack/distantly-optimized

@Steveplays28
Copy link
Author

Steveplays28 commented May 8, 2024

@imheavi Hi imheavi, cool stuff! Pack looks good.
If you want to improve performance further you'd have to dig into the code and write more optimisations haha

Other than that though, performance seems good. I usually push my render/simulation distance to 12 and barely maintain 50-80fps on a similar setup, with medium DH quality and balanced DH CPU load, on a huge modpack. Mentioning for refererence.
Good luck with further refining your modpack!

@imheavi
Copy link

imheavi commented May 8, 2024

@imheavi Hi imheavi, cool stuff! Pack looks good. If you want to improve performance further you'd have to dig into the code and write more optimisations haha

Other than that though, performance seems good. I usually push my render/simulation distance to 12 and barely maintain 50-80fps on a similar setup, with medium DH quality and balanced DH CPU load, on a huge modpack. Mentioning for refererence. Good luck with further refining your modpack!

Thank you for the advice!

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