mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- had a look at Exhumed's shade tables and implemented the necessary adjustments for the 3 with abnormal gradients.
This commit is contained in:
parent
f106505344
commit
3d47652d08
3 changed files with 9 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue