mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Unbreak polymer-broken.
git-svn-id: https://svn.eduke32.com/eduke32@1775 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
653a58574c
commit
c54304217c
3 changed files with 3 additions and 9 deletions
|
@ -157,7 +157,7 @@ typedef struct s_prrograminfo {
|
|||
} _prprograminfo;
|
||||
|
||||
#define PR_INFO_LOG_BUFFER_SIZE 8192
|
||||
#define PR_HIGHPALOOKUP_BIT_DEPTH 5
|
||||
#define PR_HIGHPALOOKUP_BIT_DEPTH 7
|
||||
#define PR_HIGHPALOOKUP_DIM (1 << PR_HIGHPALOOKUP_BIT_DEPTH)
|
||||
#define PR_HIGHPALOOKUP_DATA_SIZE (4 * PR_HIGHPALOOKUP_DIM * \
|
||||
PR_HIGHPALOOKUP_DIM * \
|
||||
|
|
|
@ -1169,7 +1169,6 @@ static int32_t defsparser(scriptfile *script)
|
|||
}
|
||||
|
||||
#if defined(POLYMOST) && defined(USE_OPENGL)
|
||||
if (palnum == 0 || palnum >= NORMALPAL)
|
||||
switch (md_defineskin(lastmodelid, skinfn, palnum, max(0,modelskin), surfnum, param, specpower, specfactor))
|
||||
{
|
||||
case 0:
|
||||
|
@ -1671,7 +1670,6 @@ static int32_t defsparser(scriptfile *script)
|
|||
xscale = 1.0f / xscale;
|
||||
yscale = 1.0f / yscale;
|
||||
|
||||
if (pal == 0)
|
||||
hicsetsubsttex(tile,pal,fn,alphacut,xscale,yscale, specpower, specfactor,flags);
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -320,12 +320,8 @@ _prprogrambit prprogrambits[PR_BIT_COUNT] = {
|
|||
"\n",
|
||||
// frag_prog
|
||||
" if (isLightingPass == 0)\n"
|
||||
/* " result.rgb = texture3D(highPalookupMap, result.rgb * 0.9921875 + 0.00390625).rgb;\n"
|
||||
" diffuseTexel.rgb = texture3D(highPalookupMap, diffuseTexel.rgb * 0.9921875 + 0.00390625).rgb;\n"*/
|
||||
/* " result.rgb = texture3D(highPalookupMap, result.rgb * 0.984375 + 0.0078125).rgb;\n"
|
||||
" diffuseTexel.rgb = texture3D(highPalookupMap, diffuseTexel.rgb * 0.984375 + 0.0078125).rgb;\n"*/
|
||||
" result.rgb = texture3D(highPalookupMap, result.rgb * 0.96875 + 0.015625).rgb;\n"
|
||||
" diffuseTexel.rgb = texture3D(highPalookupMap, diffuseTexel.rgb * 0.96875 + 0.015625).rgb;\n"
|
||||
" result.rgb = texture3D(highPalookupMap, result.rgb).rgb;\n"
|
||||
" diffuseTexel.rgb = texture3D(highPalookupMap, diffuseTexel.rgb).rgb;\n"
|
||||
"\n",
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue