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)
@GREATJRM
Copy link

These are just chunks DH has not created a LoD for. Try loading the terrain in your normal render distance.

Thanks, but that's not what I'm talking about. It is easier to see in the second image, but when I'm moving, and get near LoD chunks, there is an odd circular fading effect where the blocks become invisible at the edge of my render distance. Do you know how to fix that? I'm using this mod pack by the way: https://www.curseforge.com/minecraft/modpacks/darkrpg

@imheavi
Copy link

imheavi commented Oct 13, 2024

Its called Overdraw Prevention, you can find it in your DH settings, you just need to adjust it until the effect disappears.

@GREATJRM
Copy link

Its called Overdraw Prevention, you can find it in your DH settings, you just need to adjust it until the effect disappears.

Thanks for the help, but even changing that setting did not fix it. At this point, I just removed the mod. I think it was because the mod pack I'm using is limiting my render distance to about 7 chunks.

@GREATJRM
Copy link

Its called Overdraw Prevention, you can find it in your DH settings, you just need to adjust it until the effect disappears.

Thanks for the help, but even changing that setting did not fix it. At this point, I just removed the mod. I think it was because the mod pack I'm using is limiting my render distance to about 7 chunks.

Or my CPU is not powerful enough

@imheavi
Copy link

imheavi commented Oct 15, 2024

If you didnt before, try setting it to 0.

@Steveplays28
Copy link
Author

@GREATJRM you may have to adjust overdraw prevention separately in your shaderpack, as that setting is only for use without Iris.

@Azloxion
Copy link

Azloxion commented Oct 16, 2024

Hello, i have a problem with Iris 1.7.4 and DH 2.2.1-a on Fabric 0.16.7, my launcher says they are incompatible.
Here is my log:

Incompatible mods found!

net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
	 - Remove mod 'Iris' (iris) 1.7.3+mc1.21 (/home/azloxion/.local/share/PrismLauncher/instances/Fabulously Optimized/.minecraft/mods/iris-1.7.3+mc1.21.jar).
More details:
	 - Mod 'Distant Horizons' (distanthorizons) 2.2.1-a is incompatible with version 1.7.4 or earlier of mod 'Iris' (iris), but a matching version is present: 1.7.3+mc1.21!
	at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51)
	at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:196)
	at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

Can someone help me please?

@Steveplays28
Copy link
Author

Hi @Azloxion, could you try updating Iris to v1.8.0?

@BrysonSeiler
Copy link

I'm currently running into graphical errors with shaders (doesnt matter which one I use). Issue goes away without shaders. Anyone encountered this before?

2024-10-16_20 46 21
2024-10-16_20 46 57

@Steveplays28
Copy link
Author

Hi @BrysonSeiler, lowering the overdraw prevention radius in the shaderpack's settings should fix that issue.

@GREATJRM
Copy link

@GREATJRM you may have to adjust overdraw prevention separately in your shaderpack, as that setting is only for use without Iris.

I'm going to try using the mod again, so I came back here to see if anyone had figured out the issue, I'll try this fix, Thanks!

@GREATJRM
Copy link

do you know where this setting would be in the complementary shader settings?

@GREATJRM
Copy link

Kay, I figured it out, it's because some config in my mod pack is limiting my render distance to 10 max, but the shader doesn't realize this and tries to do something, causing it to have invisible areas.

@GREATJRM
Copy link

it was fixed by just lowering my render distance till I could not see it

@Steveplays28
Copy link
Author

Glad to hear you fixed it, GREATJRM!

@Slooshie1
Copy link

Not sure if you want to add paid shaders to the list but NostalgiaVX and FastPBR support DH

@JapaLG
Copy link

JapaLG commented Nov 5, 2024

@Steveplays28 Distant Horizons support has made it upstream to Oculus mc1.20.1-1.6.13 and players on Minecraft 1.20.1 can use the official release.

Oculus's latest release for 1.19.2 is 1.6.9 and doesn't support Distant Horizons. I have support for this version on my 1.19.2 branch, which should be buildable without any special instructions. For the convenience of those who have asked me for it, I've uploaded an already built jar here with 30 days retention.

Edited 02/21/2024: Reuploaded here with 30 days retention.

Can you make this jar version available for download again?

@Steveplays28
Copy link
Author

@JapaLG I don't have the JAR stored locally. You can clone the repository and run ./gradlew build to build it.

@JapaLG
Copy link

JapaLG commented Nov 5, 2024

@JapaLG I don't have the JAR stored locally. You can clone the repository and run ./gradlew build to build it.

Captura de tela 2024-11-03 205035
I tried but it gives this error

@Steveplays28
Copy link
Author

@JapaLG You need to use Java 17 for 1.19.2.

@JapaLG
Copy link

JapaLG commented Nov 5, 2024

@Steveplays28 it worked, thanks

@Flux34
Copy link

Flux34 commented Nov 10, 2024

can anyone help with this issue? Im running SuperDuperVanilla shaders with dh
issue 1

issue 2
issue 3

@fayer3
Copy link

fayer3 commented Nov 10, 2024

@Steveplays28 the Rethinking voxels download links to the wrong branch, it should link to https://github.com/gri573/rethinking-voxels/tree/singlesample-softshadows-v2

@Steveplays28
Copy link
Author

@fayer3 I've updated the link, thanks for letting me know!

@Steveplays28
Copy link
Author

@Flux34 Try asking in the Distant Horizons Discord server, I'm not sure why that's happening, could be overdraw prevention.

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