mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-29 08:26:37 +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,10 +53,10 @@ public final class WorldModelBuilder implements Bufferable {
|
||||||
} else {
|
} else {
|
||||||
model = CullingBakedModel.wrap(model);
|
model = CullingBakedModel.wrap(model);
|
||||||
model = LayerFilteringBakedModel.wrap(model, layer);
|
model = LayerFilteringBakedModel.wrap(model, layer);
|
||||||
|
}
|
||||||
if (consumer instanceof ShadeSeparatingVertexConsumer shadeSeparatingWrapper) {
|
if (consumer instanceof ShadeSeparatingVertexConsumer shadeSeparatingWrapper) {
|
||||||
model = shadeSeparatingWrapper.wrapModel(model);
|
model = shadeSeparatingWrapper.wrapModel(model);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
BlockPos pos = info.pos;
|
BlockPos pos = info.pos;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue