Fix fade shader not binding MC depth texture
This commit is contained in:
@@ -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();
|
||||
|
||||
+1
-1
Submodule coreSubProjects updated: d1ba402f4d...9f483ee07a
Reference in New Issue
Block a user