Simplied Light Caching fixed for blocked faces.
This commit is contained in:
parent
6f957a57f3
commit
6a805d1359
1 changed files with 3 additions and 0 deletions
|
@ -163,6 +163,8 @@ public class BusRenderHelper implements IPartRenderHelper
|
|||
}
|
||||
else
|
||||
{
|
||||
boolean allFaces = rbw.renderAllFaces;
|
||||
rbw.renderAllFaces = true;
|
||||
rbw.calculations = true;
|
||||
rbw.faces.clear();
|
||||
|
||||
|
@ -197,6 +199,7 @@ public class BusRenderHelper implements IPartRenderHelper
|
|||
rbw.renderStandardBlock( blk, x, y, z );
|
||||
|
||||
rbw.faces = EnumSet.allOf( ForgeDirection.class );
|
||||
rbw.renderAllFaces = allFaces;
|
||||
rbw.calculations = false;
|
||||
rbw.useTextures = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue