From b5eb23c956ba05ffcb379a5599870a2196346feb Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:58:03 +0200 Subject: [PATCH] Recast: improve box shading Make voxels easier to see by making each face appear slightly lighter/darker. --- src/thirdparty/recast/DebugUtils/Source/DebugDraw.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/thirdparty/recast/DebugUtils/Source/DebugDraw.cpp b/src/thirdparty/recast/DebugUtils/Source/DebugDraw.cpp index 8c30faa9..0db4d47e 100644 --- a/src/thirdparty/recast/DebugUtils/Source/DebugDraw.cpp +++ b/src/thirdparty/recast/DebugUtils/Source/DebugDraw.cpp @@ -69,10 +69,10 @@ void duCalcBoxColors(unsigned int* colors, unsigned int colTop, unsigned int col colors[0] = duMultCol(colTop, 250); colors[1] = duMultCol(colSide, 140); - colors[2] = duMultCol(colSide, 165); - colors[3] = duMultCol(colSide, 217); + colors[2] = duMultCol(colSide, 185); + colors[3] = duMultCol(colSide, 227); colors[4] = duMultCol(colSide, 165); - colors[5] = duMultCol(colSide, 217); + colors[5] = duMultCol(colSide, 207); } void duDebugDrawCylinderWire(struct duDebugDraw* dd, float minx, float miny, float minz,