Skip to content

Commit

Permalink
Add dhDepthTex0
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jan 27, 2024
1 parent acbd3b1 commit 2a5c585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/coderbot/iris/samplers/IrisSamplers.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static void addRenderTargetSamplers(SamplerHolder samplers, Supplier<Immu
}

// Add the DH texture here, to make sure it's always visible.
samplers.addDynamicSampler(TextureType.TEXTURE_2D, DHCompat::getDepthTex, null, "dhDepthTex");
samplers.addDynamicSampler(TextureType.TEXTURE_2D, DHCompat::getDepthTex, null, "dhDepthTex", "dhDepthTex0");
samplers.addDynamicSampler(TextureType.TEXTURE_2D, DHCompat::getDepthTexNoTranslucent, null, "dhDepthTex1");
}

Expand Down

0 comments on commit 2a5c585

Please sign in to comment.