Unlike BakedQuad, UnpackedBakedQuad does not propagate the diffuse lighting flag to Vertex Consumers. Made UnpackedBakedQuad conform to BakedQuad's behavior. (#3181)

This commit is contained in:
shartte 2016-08-12 23:33:38 +02:00 committed by LexManos
parent 4cd0f88a69
commit 7643be8cdc

View file

@ -74,6 +74,7 @@ public class UnpackedBakedQuad extends BakedQuad
{
// catch missing method errors caused by change to IVertexConsumer
}
consumer.setApplyDiffuseLighting(applyDiffuseLighting);
consumer.setQuadOrientation(getFace());
for(int v = 0; v < 4; v++)
{