Darken side facing away from light
This commit is contained in:
1 parent
9b5f0d7e37
commit
0b2da2a947
1 file changed
+3
-3
+3
-3
@@ -117,9 +117,9 @@
|
|||||||
var top3 = project(wx + TILE - GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
var top3 = project(wx + TILE - GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
||||||
var top4 = project(wx + GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
var top4 = project(wx + GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
||||||
|
|
||||||
var topColor = inShadow ? '#3a5a3a' : '#5a8a5a';
|
var topColor = '#5a8a5a';
|
||||||
var leftColor = inShadow ? '#4a3020' : '#6b4423';
|
var rightColor = '#6b4423';
|
||||||
var rightColor = inShadow ? '#352010' : '#4a2e18';
|
var leftColor = '#3d2614';
|
||||||
|
|
||||||
ctx.fillStyle = topColor;
|
ctx.fillStyle = topColor;
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
|
|||||||
Reference in new issue
Block a user