Rename ColorAdd to AddColor, and use it ingame

Rename ColorAdd to AddColor
Add AddColor to FRenderState
Tweak SpecialColors array in ZScript to include the additive color
Add uAddColor to the shader compiler
Add uAddColor to the texel
This commit is contained in:
Kevin Caccamo 2018-12-19 02:51:30 -05:00 committed by Christoph Oelckers
commit 758cd77e55
10 changed files with 25 additions and 4 deletions

View file

@ -145,6 +145,7 @@ bool FGLRenderState::ApplyShader()
activeShader->muLightIndex.Set(-1);
activeShader->muClipSplit.Set(mClipSplit);
activeShader->muSpecularMaterial.Set(mGlossiness, mSpecularLevel);
activeShader->muAddColor.Set(mAddColor); // Can this be done without a shader?
if (mGlowEnabled)
{