mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-27 07:26:48 +01:00
Wrap vanilla models for shade separation
- Flywheel version of Fabricators-of-Create/Create#441
This commit is contained in:
parent
473b1af5c6
commit
7e3671fa9a
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue