Darken side facing away from light

This commit is contained in:
Richard Zink committed 2026-10-06 17:33:37 +02:00
1 parent 9b5f0d7e37
commit 0b2da2a947
1 file changed
+3 -3
+3 -3
View File
@@ -117,9 +117,9 @@
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 topColor = inShadow ? '#3a5a3a' : '#5a8a5a';
var leftColor = inShadow ? '#4a3020' : '#6b4423';
var rightColor = inShadow ? '#352010' : '#4a2e18';
var topColor = '#5a8a5a';
var rightColor = '#6b4423';
var leftColor = '#3d2614';
ctx.fillStyle = topColor;
ctx.beginPath();