mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: improve box shading
Make voxels easier to see by making each face appear slightly lighter/darker.
This commit is contained in:
parent
1d2dd0a2d5
commit
b5eb23c956
@ -69,10 +69,10 @@ void duCalcBoxColors(unsigned int* colors, unsigned int colTop, unsigned int col
|
|||||||
|
|
||||||
colors[0] = duMultCol(colTop, 250);
|
colors[0] = duMultCol(colTop, 250);
|
||||||
colors[1] = duMultCol(colSide, 140);
|
colors[1] = duMultCol(colSide, 140);
|
||||||
colors[2] = duMultCol(colSide, 165);
|
colors[2] = duMultCol(colSide, 185);
|
||||||
colors[3] = duMultCol(colSide, 217);
|
colors[3] = duMultCol(colSide, 227);
|
||||||
colors[4] = duMultCol(colSide, 165);
|
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,
|
void duDebugDrawCylinderWire(struct duDebugDraw* dd, float minx, float miny, float minz,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user