Fixes #4674: Facade quads should not keep their original cull-faces if they're moved away
from the block face.
This commit is contained in:
@@ -258,7 +258,9 @@ public class FacadeBuilder {
|
|||||||
|
|
||||||
for (Box box : holeStrips) {
|
for (Box box : holeStrips) {
|
||||||
emitter.fromVanilla(quad.getVertexData(), 0, false);
|
emitter.fromVanilla(quad.getVertexData(), 0, false);
|
||||||
emitter.cullFace(cullFace);
|
// Keep the cull-face for faces that are flush with the outer block-face on the
|
||||||
|
// side the facade is attached to, but clear it for anything that faces inwards
|
||||||
|
emitter.cullFace(cullFace == side ? side : null);
|
||||||
emitter.nominalFace(quad.getFace());
|
emitter.nominalFace(quad.getFace());
|
||||||
interpolator.setInputQuad(emitter);
|
interpolator.setInputQuad(emitter);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user