Skip to content

Commit

Permalink
Pre work for merging vanilla/optifine & sodium renderers
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadiboo committed Feb 6, 2024
1 parent 7e4985e commit dd01e33
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 285 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ public void forEachQuad(BlockState stateIn, BlockPos worldPosIn, Direction direc
dirQuads = getQuadsAndStoreOverlays(state, worldPos, seed, modelData, layer, renderEnv, model, NoCubesConfig.Client.betterGrassSides ? Direction.UP : direction);
else {
// The texture of grass underneath the snow (that normally never gets seen) is grey, we don't want that
BlockState snow = Blocks.SNOW.defaultBlockState();
BakedModel snowModel = getModel(snow, renderEnv);
var snow = Blocks.SNOW.defaultBlockState();
var snowModel = getModel(snow, renderEnv);
dirQuads = getQuadsAndStoreOverlays(snow, worldPos, seed, modelData, layer, renderEnv, snowModel, null);
}
}
Expand Down
Loading

0 comments on commit dd01e33

Please sign in to comment.