From 717fcdc5fe60b8f720c35a8d573f60ed4601235f Mon Sep 17 00:00:00 2001 From: Mitchell Skaggs Date: Sat, 21 Apr 2018 17:12:47 -0500 Subject: [PATCH] Add 3 more touch-up points for smooth lighting Closes #1370 --- overviewer_core/src/primitives/smooth-lighting.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overviewer_core/src/primitives/smooth-lighting.c b/overviewer_core/src/primitives/smooth-lighting.c index e35935f..e8cd369 100644 --- a/overviewer_core/src/primitives/smooth-lighting.c +++ b/overviewer_core/src/primitives/smooth-lighting.c @@ -49,7 +49,7 @@ struct SmoothLightingFace { }; /* top face touchups, pulled from textures.py (_build_block) */ -static int top_touchups[] = {3, 4, 7, 2, 11, 0}; +static int top_touchups[] = {1, 5, 3, 4, 5, 3, 7, 2, 9, 1, 11, 0}; /* the lighting face rule list! */ static struct SmoothLightingFace lighting_rules[] = { @@ -83,7 +83,7 @@ static struct SmoothLightingFace lighting_rules[] = { -1, 0, 0, 0, 0, 1}, }, - top_touchups, 3}, + top_touchups, 6}, /* left */ {-1, 0, 0, {