Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 33 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

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

Iceninni commented Mar 14, 2024

I've tried using Complementary shaders and Complementary fork but they don't seem to work on the lods, any idea why?
Forge and optifine
(I use mods but even when i remove them nothing changes)

2024-03-14_17 46 57

@derram
Copy link

derram commented Mar 14, 2024

Game displays an error when using Iris with the DH support selected (1.7.0-snapshot+mc1.20.4-5983468) with the Complementary fork.

Error says the pack doesn't support DH and then it blocks the LOD chunks from displaying.

@Hirune30
Copy link

Hello, is there a compatibility version for Oculus 1.18.2? DH works smoothly when disabling the shaders, but nothing is displayed with them

@Steveplays28
Copy link
Author

Hi @Hirune30, I don't think there is. You'd have to cherrypick the changes to the 1.18.2 branch yourself and make it work.

@Steveplays28
Copy link
Author

Hi @derram, you need to downgrade to release Iris (<=v1.6.17) to use any shaderpack with legacy DH support.

@Steveplays28
Copy link
Author

Hi @Iceninni, I'm not sure why that's happening, I can't access your upload.
Try searching through the DH Discord server, and/or asking for help in the help forum.

@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

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

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