Fix fog with Blaze3D

This commit is contained in:
James Seibel
2026-03-10 17:50:41 -05:00
parent 9e5be3ad21
commit 15a044d059
@@ -337,7 +337,7 @@ public class BlazeDhFogRenderer implements IDhFogRenderer
/*depthTexture*/ null,
/*optionalDepthValueAsDouble*/ OptionalDouble.empty()))
{
renderPass.bindTexture("uDhDepthTexture", this.fogColorTextureWrapper.textureView, this.fogColorTextureWrapper.textureSampler);
renderPass.bindTexture("uDhDepthTexture", BlazeDhMetaRenderer.INSTANCE.dhDepthTextureWrapper.textureView, BlazeDhMetaRenderer.INSTANCE.dhDepthTextureWrapper.textureSampler);
renderPass.setUniform("fragUniformBlock", this.fragUniformBuffer);