mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Rough approximation of PLUs using gl fog
This includes GLOBAL_NO_GL_TILESHADES fix from Fox # Conflicts: # source/build/include/polymost.h # source/build/src/palette.cpp # source/build/src/polymer.cpp # source/build/src/polymost.cpp # source/build/src/polymost1Frag.glsl
This commit is contained in:
parent
200cfa45f5
commit
eea4fa80f1
1 changed files with 23 additions and 0 deletions
|
@ -81,6 +81,29 @@ int LoadPaletteLookups()
|
|||
|
||||
// origpalookup[i] = palookup[i];
|
||||
bGreenPal = 0;
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
/*
|
||||
// Very rough approximation...
|
||||
palookupfogfactor[kPalNormal] = 1.f;
|
||||
palookupfogfactor[kPalNoDim] = 0.f;
|
||||
palookupfogfactor[kPalTorch] = 0.36f;
|
||||
palookupfogfactor[kPalNoTorch] = 0.15f;
|
||||
palookupfogfactor[kPalBrite] = 2.f;
|
||||
palookupfogfactor[kPalRedBrite] = 0.36f;
|
||||
palookupfog[kPalRedBrite] = { 248, 32, 0, 0 };
|
||||
hicsetpalettetint(kPalRedBrite, 255, 255, 255, 248, 32, 0, 0);
|
||||
palookupfog[kPalGreenBrite] = { 248, 32, 0, 0 };
|
||||
palookupfogfactor[kPalGreenBrite] = 0.f;
|
||||
hicsetpalettetint(kPalGreenBrite, 100, 200, 100, 0, 0, 0, 0);
|
||||
palookupfogfactor[kPalNormal2] = 1.f;
|
||||
palookupfogfactor[kPalNoDim2] = 0.f;
|
||||
palookupfogfactor[kPalTorch2] = 0.36f;
|
||||
palookupfogfactor[kPalNoTorch2] = 0.15f;
|
||||
palookupfogfactor[kPalBrite2] = 2.f;
|
||||
*/
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue