Skip to content

Commit a59acae

Browse files
committed
Fixed west face JSON model lighting
1 parent f57cfb7 commit a59acae

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • station-renderer-arsenic/src/main/java/net/modificationstation/stationapi/impl/client/arsenic/renderer/aocalc

station-renderer-arsenic/src/main/java/net/modificationstation/stationapi/impl/client/arsenic/renderer/aocalc/LightingCalculatorImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@ private void quadSmooth(
367367
);
368368
light[1] = MathHelper.interpolate3D(
369369
v01dx, v01dy, v01dz,
370-
light(v01x0, v01y0, v01z0), light(v01x1, v01y0, v01z0),
371-
light(v01x0, BLOCKS_ALLOW_VISION[id(v01x0, v01y0, v01z0)] || BLOCKS_ALLOW_VISION[id(v01x1, v01y1, v01z0)] ? v01y1 : v01y0, v01z0), light(v01x1, v01y1, v01z0),
372-
light(v01x0, v01y0, v01z1), light(v01x1, v01y0, v01z1),
373-
light(v01x0, BLOCKS_ALLOW_VISION[id(v01x0, v01y0, v01z1)] || BLOCKS_ALLOW_VISION[id(v01x1, v01y1, v01z1)] ? v01y1 : v01y0, v01z1), light(v01x1, v01y1, v01z1)
370+
light(v01x0, BLOCKS_ALLOW_VISION[id(v01x0, v01y1, v01z0)] || BLOCKS_ALLOW_VISION[id(v01x1, v01y0, v01z0)] ? v01y0 : v01y1, v01z0), light(v01x1, v01y0, v01z0),
371+
light(v01x0, v01y1, v01z0), light(v01x1, v01y1, v01z0),
372+
light(v01x0, BLOCKS_ALLOW_VISION[id(v01x0, v01y1, v01z1)] || BLOCKS_ALLOW_VISION[id(v01x1, v01y0, v01z1)] ? v01y0 : v01y1, v01z1), light(v01x1, v01y0, v01z1),
373+
light(v01x0, v01y1, v01z1), light(v01x1, v01y1, v01z1)
374374
);
375375
light[2] = MathHelper.interpolate3D(
376376
v11dx, v11dy, v11dz,

0 commit comments

Comments
 (0)