Wrap vanilla models for shade separation

- Flywheel version of Fabricators-of-Create/Create#441
This commit is contained in:
PepperCode1 2022-07-18 10:06:16 -07:00
parent 473b1af5c6
commit 7e3671fa9a

View file

@ -53,9 +53,9 @@ public final class WorldModelBuilder implements Bufferable {
} else {
model = CullingBakedModel.wrap(model);
model = LayerFilteringBakedModel.wrap(model, layer);
if (consumer instanceof ShadeSeparatingVertexConsumer shadeSeparatingWrapper) {
model = shadeSeparatingWrapper.wrapModel(model);
}
}
if (consumer instanceof ShadeSeparatingVertexConsumer shadeSeparatingWrapper) {
model = shadeSeparatingWrapper.wrapModel(model);
}
BlockPos pos = info.pos;