- Fix decals in Softpoly.

(partial revert of "- cleanup of the revised y-clamping feature.")
This commit is contained in:
drfrag 2021-12-29 12:48:46 +01:00 committed by Rachael Alexanderson
parent 046799db68
commit 6112307cc8

View file

@ -287,7 +287,7 @@ void PolyRenderState::Apply()
PolyPushConstants constants;
constants.uFogEnabled = fogset;
constants.uTextureMode = GetTextureModeAndFlags(mTempTM);
constants.uTextureMode = (mTextureMode == TM_NORMAL && mTempTM == TM_OPAQUE ? TM_OPAQUE : mTextureMode);
constants.uLightDist = mLightParms[0];
constants.uLightFactor = mLightParms[1];
constants.uFogDensity = mLightParms[2];