Skip to content

Commit c4d09c7

Browse files
author
IMS212
committed
Fix entity shadows on 1.17
1 parent f8380b3 commit c4d09c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/net/coderbot/iris/pipeline/newshader/NewWorldRenderingPipeline.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ public void finalizeLevelRendering() {
581581

582582
@Override
583583
public boolean shouldDisableVanillaEntityShadows() {
584-
return true;
584+
// OptiFine seems to disable vanilla shadows when the shaderpack uses shadow mapping?
585+
return shadowMapRenderer instanceof ShadowRenderer;
585586
}
586587

587588
@Override

0 commit comments

Comments
 (0)