Fix diffuse lighting on models.

This commit is contained in:
James Canete 2011-04-04 13:09:59 +00:00
parent ba1da1cc7a
commit 5bed614bd0

View file

@ -1839,6 +1839,10 @@ static void ComputeVertexAttribs(void)
shader.vertexAttribs |= ATTR_COLOR;
break;
case CGEN_LIGHTING_DIFFUSE:
shader.vertexAttribs |= ATTR_NORMAL;
break;
default:
break;
}