mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-23 01:50:41 +00:00
Fix diffuse lighting on models.
This commit is contained in:
parent
ba1da1cc7a
commit
5bed614bd0
1 changed files with 4 additions and 0 deletions
|
@ -1838,6 +1838,10 @@ static void ComputeVertexAttribs(void)
|
|||
case CGEN_ONE_MINUS_VERTEX:
|
||||
shader.vertexAttribs |= ATTR_COLOR;
|
||||
break;
|
||||
|
||||
case CGEN_LIGHTING_DIFFUSE:
|
||||
shader.vertexAttribs |= ATTR_NORMAL;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue