- Pass vertex color and normal via uniform buffer when the attribute isn't available

This commit is contained in:
Magnus Norddahl 2019-03-02 01:56:08 +01:00
commit 05a6896d4f
8 changed files with 38 additions and 14 deletions

View file

@ -18,8 +18,6 @@ struct HWViewpointUniforms
float mClipHeightDirection = 0.f;
int mShadowmapFilter = 1;
float timer = 0.0f;
void CalcDependencies()
{
mNormalViewMatrix.computeNormalMatrix(mViewMatrix);