- made r_fullbrightignoresectorcolor a MAPINFO option, so far only working on the software renderer. GL still needs a few changes to handle it correctly.
This commit is contained in:
parent
c923f8c5e1
commit
dd03bb1fcb
12 changed files with 53 additions and 25 deletions
|
|
@ -141,9 +141,10 @@ bool FRenderState::ApplyShader()
|
|||
fogset = -gl_fogmode;
|
||||
}
|
||||
}
|
||||
glVertexAttrib4fv(VATTR_NORMAL, mNormal.vec);
|
||||
|
||||
glVertexAttrib4fv(VATTR_COLOR, mColor.vec);
|
||||
glVertexAttrib4fv(VATTR_NORMAL, mNormal.vec);
|
||||
activeShader->muObjectColor.Set(mObjectColor);
|
||||
|
||||
activeShader->muDesaturation.Set(mDesaturation / 255.f);
|
||||
activeShader->muFogEnabled.Set(fogset);
|
||||
|
|
@ -152,7 +153,6 @@ bool FRenderState::ApplyShader()
|
|||
activeShader->muCameraPos.Set(mCameraPos.vec);
|
||||
activeShader->muLightParms.Set(mLightParms);
|
||||
activeShader->muFogColor.Set(mFogColor);
|
||||
activeShader->muObjectColor.Set(mObjectColor);
|
||||
activeShader->muDynLightColor.Set(mDynColor.vec);
|
||||
activeShader->muInterpolationFactor.Set(mInterpolationFactor);
|
||||
activeShader->muClipHeight.Set(mClipHeight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue