Shader Development Documentation, depth handling

I'm making a new shader where the depth of blocks is used for edge detection. Am having trouble finding documentation for what I can use to make a compatible shader. Do I need to convert depth some how? Is there documentation for shader developers to look through? In one example I saw, a dev would discard all fragments with a depth != 1, which makes it seem like depth is handled differently in dh than in vanilla.
No description
No description
2 Replies
Puhpine
Puhpine3mo ago
You will probably be better off asking in the iris or shaderlabs discord servers
Miki_P98
Miki_P983mo ago
GitHub
ShaderDoc/dh-support.md at master · IrisShaders/ShaderDoc
Documentation of Minecraft shaders. Contribute to IrisShaders/ShaderDoc development by creating an account on GitHub.
Want results from more Discord servers?
Add your server