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
Modrinth
Miniature Shader - Minecraft Shader
Extremely lightweight with shadows and reflections
17 Replies
cydeadhunter
cydeadhunterOP4w ago
No description
No description
No description
No description
cydeadhunter
cydeadhunterOP4w ago
Im hoping I can just do something to enable distant horizon rendering and the chunks should look fine as is
Skillnoob_
Skillnoob_4w ago
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...
Skillnoob_
Skillnoob_4w ago
Probably try bumping this
cydeadhunter
cydeadhunterOP4w ago
thanks I didnt think to look there! but on the topic of trying to do this myself....
Miki_P98
Miki_P984w ago
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
Puhpine
Puhpine4w ago
the best way to start would be to ask the same question, but in the shaderlabs discord
cydeadhunter
cydeadhunterOP4w ago
oh really? Im hoping i can just copy some template file as this shader seems to use vanilla lighting
Miki_P98
Miki_P984w ago
You still need to add at least some lighting to DH LODs
cydeadhunter
cydeadhunterOP4w ago
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
Miki_P98
Miki_P984w ago
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
cydeadhunter
cydeadhunterOP4w ago
ok I dont think I need pixel shadows on the lod shaders though
Miki_P98
Miki_P984w ago
Templates might include most of this, but some of this will be missing
cydeadhunter
cydeadhunterOP4w ago
ok where can I find a template? im watching that video
Miki_P98
Miki_P984w ago
from the video in video description the DH tester sahder with generic rendering under the third link I've sent
cydeadhunter
cydeadhunterOP4w ago
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
Puhpine
Puhpine4w ago
Lol nice

Did you find this page helpful?