use of me.jellysquid.mods.sodium.client.render.light.LightResult in project sodium-fabric by CaffeineMC.
the class ChunkBlockRenderPipeline method renderQuadList.
private void renderQuadList(BlockRenderView world, BlockState state, BlockPos pos, LightPipeline lighter, Vector3f translation, VertexConsumer builder, List<BakedQuad> quads, Direction dir) {
for (BakedQuad quad : quads) {
LightResult light = this.cachedLightResult;
lighter.apply((ModelQuadView) quad, pos, light);
this.renderQuad(world, state, pos, builder, translation, (ModelQuadView) quad, light.br, light.lm);
}
}
Aggregations