Fix fade shader not binding MC depth texture

This commit is contained in:
James Seibel
2026-02-24 22:03:54 -06:00
parent 183882f9ce
commit e59c22fb69
2 changed files with 4 additions and 1 deletions
@@ -68,6 +68,7 @@ public class McFadeRenderer implements IMcFadeRenderer
private GpuBuffer vboGpuBuffer;
//=============//
// constructor //
//=============//
@@ -110,6 +111,8 @@ public class McFadeRenderer implements IMcFadeRenderer
pipelineBuilder.withVertexShader(Identifier.fromNamespaceAndPath("distanthorizons", "fade/vert"));
pipelineBuilder.withFragmentShader(Identifier.fromNamespaceAndPath("distanthorizons", "fade/frag"));
pipelineBuilder.withSampler("uDhDepthTexture");
pipelineBuilder.withVertexFormat(this.vertexFormat, VertexFormat.Mode.TRIANGLE_FAN);
}
this.pipeline = pipelineBuilder.build();