Skip to content

Commit

Permalink
Fix incorrect leaf shadows (hotfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Aug 19, 2023
1 parent 3fd0fc0 commit bf8f51a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public SodiumTerrainPipeline(WorldRenderingPipeline parent, ProgramSet programSe

private static final Supplier<Optional<AlphaTest>> terrainCutoutDefault = () -> Optional.of(AlphaTests.ONE_TENTH_ALPHA);
private static final Supplier<Optional<AlphaTest>> translucentDefault = () -> Optional.of(AlphaTest.ALWAYS);
private static final Supplier<Optional<AlphaTest>> shadowDefault = () -> Optional.of(AlphaTests.NON_ZERO_ALPHA);
private static final Supplier<Optional<AlphaTest>> shadowDefault = () -> Optional.of(AlphaTests.ONE_TENTH_ALPHA);

public void patchShaders(ChunkVertexType vertexType) {
ShaderAttributeInputs inputs = new ShaderAttributeInputs(true, true, false, true, true);
Expand Down

0 comments on commit bf8f51a

Please sign in to comment.