Preliminary fix for AO-enabled auto-rotated blocks using the wrong face for getting lighting values.
This commit is contained in:
@@ -93,6 +93,10 @@ public class QuadRotator implements RenderContext.QuadTransform {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME FABRIC: Wait for Grondags response about this one
|
||||||
|
MutableQuadViewImpl quadImpl = (MutableQuadViewImpl) quad;
|
||||||
|
quadImpl.lightFace(rotation.rotate(quad.lightFace()));
|
||||||
|
|
||||||
// Transform the nominal face
|
// Transform the nominal face
|
||||||
quad.nominalFace(rotation.rotate(quad.nominalFace()));
|
quad.nominalFace(rotation.rotate(quad.nominalFace()));
|
||||||
Direction cullFace = quad.cullFace();
|
Direction cullFace = quad.cullFace();
|
||||||
|
|||||||
Reference in New Issue
Block a user