- had a look at Exhumed's shade tables and implemented the necessary adjustments for the 3 with abnormal gradients.

This commit is contained in:
Christoph Oelckers 2019-12-31 22:53:03 +01:00
parent f106505344
commit 3d47652d08
3 changed files with 9 additions and 21 deletions

View file

@ -174,6 +174,7 @@ enum ETexType
struct ImDrawData;
struct palette_t;
extern float shadediv[256];
class GLInstance
{
@ -334,8 +335,6 @@ public:
{
renderState.Shade = shade;
renderState.NumShades = numshades;
renderState.ShadeDiv = 1.f / (numshades-2);
}
void SetVisibility(float visibility, float fviewingrange)