Adding DH compatibility to a shaderpack
Hello I recently started using a new shaderpack and if possilbe want to try and make it compatible with Distant Horizons.
Im hoping the process will be easy as this shaderpack is very light only adding pixel accurate shadows and a water shader. It also has config for changing the darkness/brightness of day and night. There's also a "flat lighting" feature but that's disabled, so for the im using the vanilla light engine I think.
https://modrinth.com/shader/miniature-shader
17 Replies




Im hoping I can just do something to enable distant horizon rendering and the chunks should look fine as is
GitHub
Support Distant Horizons LoD Terrain · Issue #18 · mateuskreuch/min...
Distant Horizons 2.0 was released a while ago, collaboratively with Iris adding support for shaders on LoD terrain. The effect is truly spectacular - having support for these new rendering features...
Probably try bumping this
thanks I didnt think to look there!
but on the topic of trying to do this myself....
There is this:
- https://github.com/IrisShaders/ShaderDoc/blob/master/dh-support.md
And this:
- https://youtu.be/RjyNVmsTBmA
Non of which include the newest generic rendering I think so it will be broken
Unless you try to do it based on an existing simple shader "template" like:
- https://github.com/Null-MC/dh_tester
-# Check the license first
GitHub
ShaderDoc/dh-support.md at master · IrisShaders/ShaderDoc
Documentation of Minecraft shaders. Contribute to IrisShaders/ShaderDoc development by creating an account on GitHub.
Samuel Gerkin
YouTube
I coded a Minecraft Shader with Distant Horizons - Code Your Own Sh...
Support future videos! :)
https://buymeacoffee.com/samuelgerkin
Learn from the ground up how to code a Minecraft shader with GLSL! Or just come along for the ride to see what goes into reimagining Minecraft's visuals!
Theme Song “Sam with a Plan” by
Hunter Gerkin
https://huntergerkin.bandcamp.com
Other music courtesy of Mojang Studios
Th...
GitHub
GitHub - Null-MC/dh_tester: A simple shader for testing compatibili...
A simple shader for testing compatibility between Distant Horizons and Iris. - Null-MC/dh_tester
the best way to start would be to ask the same question, but in the shaderlabs discord
oh
really?
Im hoping i can just copy some template file as this shader seems to use vanilla lighting
You still need to add at least some lighting to DH LODs
but this shader dosent change lighting, only shadows wich is apart of that but the lod visual will look the same regardles next to normal chunks
The look of DH LODs without shaders is the result of internal built-in shaders
Custom shaders will override everything, so the LODs will just be a always lit cubes if you don't do anything
You need to recreate directional lighting and AO and fading and overdraw prevention to match DH with no shaders
ok
I dont think I need pixel shadows on the lod shaders though
Templates might include most of this, but some of this will be missing
ok
where can I find a template?
im watching that video
from the video in video description
the DH tester sahder with generic rendering under the third link I've sent
Hey I did go over to shader labs, they took pity on me and a guy implemented some basic dh support
Not perfect but good enough for my personal use
Lol nice